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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 162.8 kB / 25.03 MB, free: 8.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 250.4 MB, free: 7.902 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.671e-05, allocations: 9.828 kB / 250.4 MB, free: 7.895 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01999/0.02003, allocations: 13.97 MB / 264.4 MB, free: 9.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009216/0.02924, allocations: 3.906 MB / 268.3 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00359/0.03283, allocations: 103.5 kB / 268.4 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01497/0.0478, allocations: 5.962 MB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006504/0.0543, allocations: 1.666 MB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.05803, allocations: 1.22 MB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.0687, allocations: 7.068 MB / 284.3 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01851/0.08721, allocations: 9.229 MB / 293.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.09722, allocations: 5.246 MB / 298.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008413/0.1056, allocations: 3.989 MB / 302.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003355/0.109, allocations: 0.9141 MB / 303.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004881/0.1139, allocations: 1.101 MB / 304.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004067/0.1179, allocations: 2.002 MB / 306.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006386/0.1243, allocations: 2.577 MB / 309.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01788/0.1422, allocations: 12.62 MB / 322 MB, free: 15.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1422, allocations: 4 kB / 322 MB, free: 15.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1422, allocations: 4 kB / 322 MB, free: 15.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003336/0.1425, allocations: 0 / 322 MB, free: 15.98 MB / 314.7 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.0267/0.1692, allocations: 9.495 MB / 331.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1693, allocations: 8.031 kB / 331.5 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.035/0.2043, allocations: 6.313 MB / 337.8 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009895/0.2142, allocations: 3.256 MB / 341 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005731/0.2148, allocations: 0.5058 MB / 341.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002258/0.217, allocations: 0.6679 MB / 342.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02536/0.2424, allocations: 10.73 MB / 352.9 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001983/0.2426, allocations: 7.938 kB / 352.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.2437, allocations: 284 kB / 353.2 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004665/0.2442, allocations: 382.6 kB / 353.6 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1326/0.3768, allocations: 8.619 MB / 362.2 MB, free: 92.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05035/0.4271, allocations: 36.69 MB / 398.9 MB, free: 57.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.4375, allocations: 5.453 MB / 404.4 MB, free: 52.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.4396, allocations: 1.55 MB / 405.9 MB, free: 50.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008794/0.4484, allocations: 4.712 MB / 410.6 MB, free: 45.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.4484, allocations: 58.83 kB / 410.7 MB, free: 45.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=150): time 1.183e-05/0.4484, allocations: 0 / 410.7 MB, free: 45.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.005574/0.454, allocations: 2.777 MB / 413.5 MB, free: 43.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.4541, allocations: 94.59 kB / 413.5 MB, free: 42.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/0.4583, allocations: 3.654 MB / 417.2 MB, free: 39.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.4584, allocations: 49.7 kB / 417.2 MB, free: 39.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001848/0.4603, allocations: 3.555 MB / 420.8 MB, free: 35.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006229/0.4609, allocations: 0.5962 MB / 421.4 MB, free: 35.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/0.4622, allocations: 1.001 MB / 422.4 MB, free: 34.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.4623, allocations: 480.8 kB / 422.9 MB, free: 33.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.4639, allocations: 1.226 MB / 424.1 MB, free: 32.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.4663, allocations: 3.998 MB / 428.1 MB, free: 27.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/0.4702, allocations: 5.482 MB / 433.6 MB, free: 20.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.819e-05/0.4702, allocations: 16 kB / 433.6 MB, free: 20.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006142/0.4764, allocations: 4.827 MB / 438.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.4764, allocations: 32 kB / 438.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-05/0.4765, allocations: 60 kB / 438.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009802/0.4774, allocations: 399.5 kB / 438.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.48, allocations: 0.8852 MB / 439.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.4843, allocations: 6.02 MB / 445.8 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.4873, allocations: 0.5471 MB / 446.4 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/0.4876, allocations: 220 kB / 446.6 MB, free: 7.578 MB / 330.7 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.002802/0.4904, allocations: 2.173 MB / 448.7 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/0.4908, allocations: 282.5 kB / 449 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.494, allocations: 2.096 MB / 451.1 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.494, allocations: 16 kB / 451.1 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.494, allocations: 4 kB / 451.1 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.494, allocations: 7.969 kB / 451.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.5047, allocations: 6.22 MB / 457.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/0.5047, allocations: 7.938 kB / 457.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.5062, allocations: 263.6 kB / 457.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.5073, allocations: 314 kB / 457.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.5074, allocations: 39.98 kB / 458 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/0.5142, allocations: 5.915 MB / 463.9 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5142, allocations: 0 / 463.9 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/0.5199, allocations: 3.09 MB / 467 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.5212, allocations: 385.9 kB / 467.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.5215, allocations: 24.19 kB / 467.4 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.5227, allocations: 107.9 kB / 467.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.523, allocations: 101.3 kB / 467.6 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.5231, allocations: 47.98 kB / 467.6 MB, free: 2.164 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003269/0.5264, allocations: 1.87 MB / 469.5 MB, free: 284 kB / 346.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5264, allocations: 0 / 469.5 MB, free: 284 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.005298/0.5317, allocations: 1.549 MB / 471 MB, free: 14.72 MB / 362.7 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.0004542/0.5321, allocations: 165.4 kB / 471.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006788/0.5389, allocations: 3.523 MB / 474.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.5389, allocations: 2 kB / 474.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.5411, allocations: 1.298 MB / 476 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.5439, allocations: 0.5021 MB / 476.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/0.5646, allocations: 9.501 MB / 486 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/0.5694, allocations: 3.305 MB / 489.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003382/0.5728, allocations: 1.13 MB / 490.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/0.5734, allocations: 188.5 kB / 490.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/0.5734, allocations: 0 / 490.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of Templates: time 0.177/0.7504, allocations: 29.51 MB / 0.508 GB, free: 110.1 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.771199504029937]