Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001527/0.001527, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001771/0.001772, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 60.12 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09547, allocations: 50.54 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007388/0.1029, allocations: 5.917 MB / 362.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.107, allocations: 2.088 MB / 365 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.108, allocations: 39.81 kB / 365 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.1094, allocations: 338.4 kB / 365.4 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.1109, allocations: 0.5014 MB / 365.9 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.1114, allocations: 211.8 kB / 366.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002279/0.1137, allocations: 2.214 MB / 368.3 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/0.1163, allocations: 2.216 MB / 370.5 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1552/0.2715, allocations: 1.051 MB / 371.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.2735, allocations: 1.239 MB / 372.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004679/0.274, allocations: 289.8 kB / 373.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008329/0.2748, allocations: 379.6 kB / 373.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006763/0.2755, allocations: 0.7056 MB / 374.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.2765, allocations: 1.228 MB / 375.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003345/0.2799, allocations: 3.762 MB / 379.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2799, allocations: 2.25 kB / 379.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2799, allocations: 0 / 379.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.037e-05/0.28, allocations: 2.281 kB / 379.1 MB, free: 10.12 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.00395/0.2839, allocations: 2.389 MB / 381.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.284, allocations: 11.78 kB / 381.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008865/0.2849, allocations: 280.8 kB / 381.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.2866, allocations: 1.324 MB / 383.1 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/0.2866, allocations: 134.4 kB / 383.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.2869, allocations: 174 kB / 383.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.2907, allocations: 2.55 MB / 386 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.2907, allocations: 2.625 kB / 386 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.2909, allocations: 68.38 kB / 386.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.291, allocations: 100.8 kB / 386.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/0.2941, allocations: 2.107 MB / 388.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009335/0.3034, allocations: 7.442 MB / 395.7 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.3047, allocations: 1.271 MB / 397 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006513/0.3054, allocations: 477.2 kB / 397.4 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/0.3056, allocations: 118.9 kB / 397.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3057, allocations: 38.94 kB / 397.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.244e-06/0.3057, allocations: 0 / 397.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003717/0.3094, allocations: 2.262 MB / 399.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.3095, allocations: 89.08 kB / 399.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.3112, allocations: 1.515 MB / 401.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.3113, allocations: 36.45 kB / 401.5 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006357/0.3119, allocations: 0.9683 MB / 402.5 MB, free: 11.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.3121, allocations: 196.4 kB / 402.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/0.3124, allocations: 244 kB / 402.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3126, allocations: 358.1 kB / 403.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.3133, allocations: 464.5 kB / 403.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.3143, allocations: 1.089 MB / 404.8 MB, free: 9.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.3161, allocations: 1.615 MB / 406.4 MB, free: 7.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/0.3161, allocations: 8 kB / 406.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00258/0.3187, allocations: 1.686 MB / 408.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3188, allocations: 16 kB / 408.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.3188, allocations: 20 kB / 408.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007126/0.3195, allocations: 186.4 kB / 408.3 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/0.3203, allocations: 287.3 kB / 408.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.3226, allocations: 2.373 MB / 411 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.3237, allocations: 79.59 kB / 411 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.3238, allocations: 71.98 kB / 411.1 MB, free: 3.105 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008439/0.3246, allocations: 0.7075 MB / 411.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.3249, allocations: 130.5 kB / 411.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.3262, allocations: 0.844 MB / 412.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3262, allocations: 4 kB / 412.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3262, allocations: 0 / 412.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3262, allocations: 3.984 kB / 412.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.3298, allocations: 2.49 MB / 415.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.3298, allocations: 13.14 kB / 415.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.3302, allocations: 103 kB / 415.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006205/0.3308, allocations: 148.7 kB / 415.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.3309, allocations: 15.98 kB / 415.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.3329, allocations: 2.303 MB / 417.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.333, allocations: 4 kB / 417.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.3347, allocations: 1.316 MB / 419.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.3351, allocations: 295.3 kB / 419.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.3353, allocations: 8 kB / 419.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/0.3359, allocations: 48.22 kB / 419.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.336, allocations: 47.31 kB / 419.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.3361, allocations: 23.94 kB / 419.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00135/0.3374, allocations: 1.044 MB / 420.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3374, allocations: 4 kB / 420.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001244/0.3387, allocations: 352 kB / 421 MB, free: 8.988 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003923/0.3391, allocations: 181.4 kB / 421.2 MB, free: 8.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.341, allocations: 1.247 MB / 422.4 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.341, allocations: 0 / 422.4 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.3417, allocations: 0.5131 MB / 422.9 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.3432, allocations: 387.5 kB / 423.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.3482, allocations: 3.949 MB / 427.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.3495, allocations: 1.706 MB / 429 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008272/0.3504, allocations: 323.3 kB / 429.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.3506, allocations: 91.42 kB / 429.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3506, allocations: 4 kB / 429.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of Templates: time 0.02866/0.3793, allocations: 18.45 MB / 447.8 MB, free: 14.41 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches