Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001698/0.001698, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001986/0.001986, allocations: 214.4 kB / 18.58 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 68.34 kB / 307 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09517, allocations: 50.53 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01587/0.1111, allocations: 13.95 MB / 371.5 MB, free: 36 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1767/0.2879, allocations: 3.835 MB / 375.3 MB, free: 9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00302/0.291, allocations: 99.5 kB / 375.4 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01263/0.3036, allocations: 5.56 MB / 381 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008035/0.3117, allocations: 1.35 MB / 382.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004442/0.3161, allocations: 1.198 MB / 383.5 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008449/0.3246, allocations: 6.331 MB / 389.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02469/0.3493, allocations: 13.74 MB / 403.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008663/0.3581, allocations: 3.283 MB / 406.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007723/0.3659, allocations: 3.85 MB / 410.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002303/0.3682, allocations: 0.8896 MB / 411.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003736/0.372, allocations: 1.088 MB / 412.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00247/0.3744, allocations: 1.772 MB / 414.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007503/0.382, allocations: 3.571 MB / 418 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.3973, allocations: 11.88 MB / 429.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.3974, allocations: 0 / 429.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3974, allocations: 0 / 429.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002854/0.3977, allocations: 0 / 429.9 MB, free: 2.523 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02281/0.4205, allocations: 7.776 MB / 437.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4206, allocations: 12.03 kB / 437.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02007/0.4406, allocations: 2.839 MB / 440.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00816/0.4489, allocations: 3.631 MB / 444.2 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005194/0.4494, allocations: 482.3 kB / 444.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00231/0.4517, allocations: 0.6236 MB / 445.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/0.4724, allocations: 9.338 MB / 454.6 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.4726, allocations: 7.906 kB / 454.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007198/0.4733, allocations: 262.7 kB / 454.9 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/0.4737, allocations: 317.4 kB / 455.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.4894, allocations: 7.977 MB / 463.2 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04676/0.5362, allocations: 29.03 MB / 492.2 MB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/0.549, allocations: 11.71 MB / 0.4921 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002697/0.5517, allocations: 1.618 MB / 0.4937 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.552, allocations: 236 kB / 0.4939 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.5521, allocations: 56.56 kB / 0.494 GB, free: 4.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 3.878e-06/0.5521, allocations: 4 kB / 0.494 GB, free: 4.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.008251/0.5604, allocations: 4.182 MB / 0.498 GB, free: 15.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.5605, allocations: 107 kB / 0.4981 GB, free: 15.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.5634, allocations: 1.903 MB / 0.5 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.5636, allocations: 61.7 kB / 0.5001 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001894/0.5655, allocations: 2.552 MB / 0.5026 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007849/0.5663, allocations: 0.8022 MB / 0.5033 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009902/0.5673, allocations: 0.6676 MB / 0.504 GB, free: 9.703 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5674, allocations: 301.1 kB / 0.5043 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.5696, allocations: 1.408 MB / 0.5057 GB, free: 7.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003086/0.5727, allocations: 2.599 MB / 0.5082 GB, free: 4.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005559/0.5782, allocations: 4.246 MB / 0.5123 GB, free: 76 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.5783, allocations: 8 kB / 0.5123 GB, free: 68 kB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007383/0.5857, allocations: 4.542 MB / 0.5168 GB, free: 11.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.5857, allocations: 23.12 kB / 0.5168 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.994e-05/0.5858, allocations: 47.88 kB / 0.5168 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007926/0.5866, allocations: 313.7 kB / 0.5171 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/0.5893, allocations: 0.7839 MB / 0.5179 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005974/0.5953, allocations: 5.055 MB / 0.5228 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.5976, allocations: 408 kB / 0.5232 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/0.5979, allocations: 160.2 kB / 0.5234 GB, free: 4.469 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003433/0.6014, allocations: 2.194 MB / 0.5255 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/0.6018, allocations: 209.5 kB / 0.5257 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1564/0.7582, allocations: 3.184 MB / 0.5288 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/0.7583, allocations: 25.19 kB / 0.5289 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.7583, allocations: 4 kB / 0.5289 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/0.7583, allocations: 13.22 kB / 0.5289 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.7745, allocations: 12.69 MB / 0.5413 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/0.7746, allocations: 13.31 kB / 0.5413 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.7762, allocations: 442.7 kB / 0.5417 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006266/0.7769, allocations: 289.2 kB / 0.542 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.777, allocations: 74.61 kB / 0.5421 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004056/0.7811, allocations: 4.975 MB / 0.5469 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/0.7811, allocations: 20.03 kB / 0.5469 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/0.7871, allocations: 5.009 MB / 0.5518 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008238/0.7879, allocations: 0.5335 MB / 0.5523 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.7882, allocations: 66.09 kB / 0.5524 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.7894, allocations: 122.6 kB / 0.5525 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/0.7897, allocations: 203.9 kB / 0.5527 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.7898, allocations: 90 kB / 0.5528 GB, free: 122.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001423/0.7912, allocations: 1.294 MB / 0.5541 GB, free: 122 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7912, allocations: 0 / 0.5541 GB, free: 122 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003294/0.7945, allocations: 1.432 MB / 0.5555 GB, free: 121.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * 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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004042/0.795, allocations: 229.9 kB / 0.5557 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006101/0.8011, allocations: 4.166 MB / 0.5598 GB, free: 119.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.8011, allocations: 2.938 kB / 0.5598 GB, free: 119.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.8031, allocations: 1.687 MB / 0.5614 GB, free: 119.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.8056, allocations: 0.5242 MB / 0.5619 GB, free: 119 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.8186, allocations: 9.97 MB / 0.5717 GB, free: 113.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/0.8216, allocations: 4.002 MB / 0.5756 GB, free: 110.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002802/0.8244, allocations: 1.199 MB / 0.5767 GB, free: 109.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.8249, allocations: 199.4 kB / 0.5769 GB, free: 109.5 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.8249, allocations: 3.938 kB / 0.5769 GB, free: 109.5 MB / 446.1 MB Notification: Performance of Templates: time 0.04453/0.8694, allocations: 30.38 MB / 0.6066 GB, free: 79.31 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches