Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001748/0.001748, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002095/0.002095, allocations: 210.8 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1869/0.1869, allocations: 38.55 MB / 352.5 MB, free: 12.38 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.91 kB / 493 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4507, allocations: 62.46 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005379/0.4561, allocations: 3.428 MB / 0.5458 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.4584, allocations: 1.374 MB / 0.5471 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.4586, allocations: 12.31 kB / 0.5471 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009395/0.4595, allocations: 249.2 kB / 0.5474 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007038/0.4602, allocations: 274.2 kB / 0.5476 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.4606, allocations: 110.3 kB / 0.5477 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.461, allocations: 340.8 kB / 0.5481 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.4614, allocations: 118.6 kB / 0.5482 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003346/0.4617, allocations: 163.1 kB / 0.5483 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.462, allocations: 157.3 kB / 0.5485 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.462, allocations: 18.47 kB / 0.5485 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.4625, allocations: 260.1 kB / 0.5487 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.4626, allocations: 98.16 kB / 0.5488 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.4628, allocations: 93.41 kB / 0.5489 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.4633, allocations: 342.7 kB / 0.5492 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4633, allocations: 1.219 kB / 0.5492 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4633, allocations: 0 / 0.5492 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4633, allocations: 0 / 0.5492 GB, free: 11.3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007914/0.4641, allocations: 447 kB / 0.5497 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4642, allocations: 12.8 kB / 0.5497 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008796/0.465, allocations: 96.66 kB / 0.5498 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.4654, allocations: 210.8 kB / 0.55 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.4654, allocations: 11.84 kB / 0.55 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.4655, allocations: 19.81 kB / 0.55 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.466, allocations: 327.1 kB / 0.5503 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.466, allocations: 7.875 kB / 0.5503 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.466, allocations: 11.03 kB / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.4661, allocations: 11.94 kB / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.4665, allocations: 285.3 kB / 0.5506 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.4685, allocations: 1.169 MB / 0.5518 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.4692, allocations: 198.8 kB / 0.552 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4693, allocations: 55.94 kB / 0.552 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.4693, allocations: 2.219 kB / 0.552 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.4694, allocations: 36.88 kB / 0.552 GB, free: 9.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.552e-06/0.4694, allocations: 0 / 0.552 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001082/0.4704, allocations: 367.4 kB / 0.5524 GB, free: 8.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.4705, allocations: 82.83 kB / 0.5525 GB, free: 8.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.4707, allocations: 190.9 kB / 0.5527 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.4708, allocations: 30.83 kB / 0.5527 GB, free: 8.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.4709, allocations: 168.8 kB / 0.5528 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.471, allocations: 45.69 kB / 0.5529 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.471, allocations: 42.44 kB / 0.5529 GB, free: 8.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4712, allocations: 327.5 kB / 0.5532 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.4713, allocations: 52.28 kB / 0.5533 GB, free: 8.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.4715, allocations: 145.8 kB / 0.5534 GB, free: 7.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.4719, allocations: 237.6 kB / 0.5537 GB, free: 7.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4719, allocations: 5.094 kB / 0.5537 GB, free: 7.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004833/0.4723, allocations: 259.9 kB / 0.5539 GB, free: 7.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.4724, allocations: 7 kB / 0.5539 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4724, allocations: 3.719 kB / 0.5539 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.4726, allocations: 41.61 kB / 0.554 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.4728, allocations: 44.88 kB / 0.554 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.4742, allocations: 1.319 MB / 0.5553 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.4743, allocations: 9.188 kB / 0.5553 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.4743, allocations: 13.17 kB / 0.5553 GB, free: 6.145 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.4745, allocations: 158.2 kB / 0.5555 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.4746, allocations: 19.03 kB / 0.5555 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.475, allocations: 192.6 kB / 0.5557 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.475, allocations: 1.062 kB / 0.5557 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.475, allocations: 1.125 kB / 0.5557 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.475, allocations: 5.109 kB / 0.5557 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008535/0.4758, allocations: 489.8 kB / 0.5561 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4758, allocations: 5.156 kB / 0.5561 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/0.4759, allocations: 20.83 kB / 0.5562 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.4761, allocations: 35.42 kB / 0.5562 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4761, allocations: 2.25 kB / 0.5562 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.4772, allocations: 1.303 MB / 0.5575 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4772, allocations: 1.062 kB / 0.5575 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.4776, allocations: 307.7 kB / 0.5578 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.4776, allocations: 11.91 kB / 0.5578 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.4777, allocations: 4 kB / 0.5578 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.4778, allocations: 4 kB / 0.5578 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.4778, allocations: 15.97 kB / 0.5578 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.4778, allocations: 8 kB / 0.5578 GB, free: 3.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.4779, allocations: 129.2 kB / 0.5579 GB, free: 3.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4779, allocations: 4.094 kB / 0.5579 GB, free: 3.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.4783, allocations: 52 kB / 0.558 GB, free: 3.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001167/0.4785, allocations: 99.19 kB / 0.5581 GB, free: 3.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004948/0.479, allocations: 271 kB / 0.5583 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.479, allocations: 0 / 0.5583 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.4792, allocations: 178.7 kB / 0.5585 GB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.4796, allocations: 30.05 kB / 0.5585 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008571/0.4804, allocations: 463.1 kB / 0.559 GB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.4806, allocations: 152.1 kB / 0.5591 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.4807, allocations: 33.45 kB / 0.5592 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.4808, allocations: 19.44 kB / 0.5592 GB, free: 2.273 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4808, allocations: 0 / 0.5592 GB, free: 2.273 MB / 398.1 MB Notification: Performance of Templates: time 0.00567/0.4864, allocations: 1.831 MB / 0.561 GB, free: 468 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.570341097190976]