Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 104.6 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 48.27 kB / 280 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.091/0.09215, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01441/0.1066, allocations: 14.38 MB / 341 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008041/0.1147, allocations: 3.926 MB / 344.9 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.1164, allocations: 83.75 kB / 345 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01036/0.1268, allocations: 5.312 MB / 350.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.1324, allocations: 1.579 MB / 351.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.135, allocations: 1.017 MB / 352.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007485/0.1425, allocations: 6.679 MB / 359.6 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01612/0.1587, allocations: 11.56 MB / 371.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004331/0.163, allocations: 3.143 MB / 374.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004811/0.1679, allocations: 4.029 MB / 378.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001281/0.1692, allocations: 0.6953 MB / 379 MB, free: 208 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1595/0.3287, allocations: 0.8747 MB / 379.9 MB, free: 25.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002248/0.331, allocations: 1.704 MB / 381.6 MB, free: 25.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005056/0.336, allocations: 3.564 MB / 385.2 MB, free: 24.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.3462, allocations: 12.14 MB / 397.3 MB, free: 22.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3462, allocations: 0 / 397.3 MB, free: 22.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3462, allocations: 0 / 397.3 MB, free: 22.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003007/0.3465, allocations: 1.094 kB / 397.3 MB, free: 22.06 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02157/0.3681, allocations: 8.336 MB / 405.6 MB, free: 16.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3682, allocations: 11.12 kB / 405.6 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02815/0.3963, allocations: 5.075 MB / 410.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008904/0.4053, allocations: 3.549 MB / 414.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003646/0.4057, allocations: 0.5031 MB / 414.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/0.4085, allocations: 0.6685 MB / 415.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/0.4265, allocations: 10.48 MB / 425.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/0.4267, allocations: 11.94 kB / 425.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007055/0.4274, allocations: 278.8 kB / 426.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002754/0.4277, allocations: 386.6 kB / 426.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.4447, allocations: 9.646 MB / 436.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05236/0.4971, allocations: 31.86 MB / 468.1 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01796/0.5151, allocations: 22.91 MB / 491 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/0.518, allocations: 1.945 MB / 492.9 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00942/0.5274, allocations: 6.248 MB / 499.2 MB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.5275, allocations: 51.75 kB / 499.2 MB, free: 5.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 3.036e-06/0.5275, allocations: 0 / 499.2 MB, free: 5.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.006154/0.5336, allocations: 3.188 MB / 0.4906 GB, free: 2.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.5337, allocations: 90.55 kB / 0.4907 GB, free: 1.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003873/0.5376, allocations: 2.612 MB / 0.4933 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.5377, allocations: 53.7 kB / 0.4933 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001872/0.5396, allocations: 3.11 MB / 0.4964 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004481/0.54, allocations: 0.55 MB / 0.4969 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.5411, allocations: 0.8053 MB / 0.4977 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.5412, allocations: 301.1 kB / 0.498 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.5433, allocations: 1.467 MB / 0.4994 GB, free: 8.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/0.5466, allocations: 3.262 MB / 0.5026 GB, free: 4.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005382/0.552, allocations: 4.82 MB / 0.5073 GB, free: 15.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.349e-05/0.5521, allocations: 20 kB / 0.5073 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007747/0.5598, allocations: 5.088 MB / 0.5123 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.5599, allocations: 32 kB / 0.5123 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.559e-05/0.56, allocations: 64.09 kB / 0.5124 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008138/0.5608, allocations: 340.1 kB / 0.5127 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/0.5636, allocations: 0.8811 MB / 0.5136 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00504/0.5686, allocations: 4.633 MB / 0.5181 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/0.5719, allocations: 0.5418 MB / 0.5186 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/0.5723, allocations: 216 kB / 0.5188 GB, free: 3.875 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.003855/0.5761, allocations: 2.325 MB / 0.5211 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/0.5765, allocations: 225.1 kB / 0.5213 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.5803, allocations: 2.325 MB / 0.5236 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.5804, allocations: 19.94 kB / 0.5236 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5804, allocations: 4 kB / 0.5236 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.5804, allocations: 7.969 kB / 0.5236 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00848/0.5889, allocations: 5.335 MB / 0.5288 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.5889, allocations: 0 / 0.5288 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.5901, allocations: 261.2 kB / 0.5291 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006311/0.5907, allocations: 257.7 kB / 0.5293 GB, free: 9.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.416e-05/0.5908, allocations: 35.98 kB / 0.5294 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.5956, allocations: 4.513 MB / 0.5338 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5956, allocations: 0 / 0.5338 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.6004, allocations: 3.314 MB / 0.537 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.6014, allocations: 465.9 kB / 0.5374 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.6017, allocations: 28 kB / 0.5375 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.6028, allocations: 95.89 kB / 0.5376 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.603, allocations: 105.4 kB / 0.5377 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.599e-05/0.6031, allocations: 51.97 kB / 0.5377 GB, free: 288 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.1724/0.7755, allocations: 1.713 MB / 0.5394 GB, free: 156.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.7756, allocations: 0 / 0.5394 GB, free: 156.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005684/0.7812, allocations: 1.522 MB / 0.5409 GB, free: 156.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003945/0.7817, allocations: 163.2 kB / 0.541 GB, free: 156.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005256/0.7869, allocations: 3.517 MB / 0.5445 GB, free: 155.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7869, allocations: 3.844 kB / 0.5445 GB, free: 155.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.7886, allocations: 1.254 MB / 0.5457 GB, free: 155.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.791, allocations: 461.6 kB / 0.5461 GB, free: 155.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.8074, allocations: 12.75 MB / 0.5586 GB, free: 149.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003507/0.8109, allocations: 4.185 MB / 0.5627 GB, free: 147.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003397/0.8144, allocations: 1.291 MB / 0.5639 GB, free: 147.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.8148, allocations: 185.1 kB / 0.5641 GB, free: 147.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.442e-06/0.8148, allocations: 0 / 0.5641 GB, free: 147.6 MB / 446.1 MB Notification: Performance of Templates: time 0.04179/0.8566, allocations: 29.73 MB / 0.5931 GB, free: 122.4 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches