Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001379/0.001379, 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.001471/0.001471, allocations: 209.7 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.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1962/0.1962, allocations: 38.55 MB / 352.5 MB, free: 12.32 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") [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.002114/0.002114, allocations: 71.89 kB / 493 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4218, allocations: 62.46 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.007776/0.4296, allocations: 4.331 MB / 0.5466 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.4328, allocations: 1.383 MB / 0.548 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.433, allocations: 24.38 kB / 0.548 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.4343, allocations: 371.9 kB / 0.5484 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007747/0.4351, allocations: 251.8 kB / 0.5486 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009905/0.4361, allocations: 246.6 kB / 0.5488 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008451/0.4369, allocations: 0.5685 MB / 0.5494 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.4374, allocations: 215.9 kB / 0.5496 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004935/0.4379, allocations: 266.2 kB / 0.5499 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.4385, allocations: 369.8 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.4386, allocations: 40.22 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005422/0.4391, allocations: 230.4 kB / 0.5505 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.4394, allocations: 249 kB / 0.5507 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.4397, allocations: 218 kB / 0.5509 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009612/0.4407, allocations: 0.6818 MB / 0.5516 GB, free: 9.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4407, allocations: 1.125 kB / 0.5516 GB, free: 9.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4407, allocations: 0 / 0.5516 GB, free: 9.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.4407, allocations: 0 / 0.5516 GB, free: 9.742 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001562/0.4423, allocations: 0.7127 MB / 0.5523 GB, free: 9.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4423, allocations: 14.48 kB / 0.5523 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.4431, allocations: 122.4 kB / 0.5524 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008203/0.4439, allocations: 357.8 kB / 0.5527 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.4439, allocations: 37.45 kB / 0.5528 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.4441, allocations: 43.66 kB / 0.5528 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.4452, allocations: 0.6791 MB / 0.5535 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.4452, allocations: 1.125 kB / 0.5535 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.4453, allocations: 12.88 kB / 0.5535 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/0.4455, allocations: 56.86 kB / 0.5536 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.4466, allocations: 0.6672 MB / 0.5542 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/0.4506, allocations: 2.286 MB / 0.5564 GB, free: 5.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.4511, allocations: 305.1 kB / 0.5567 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.4515, allocations: 217.6 kB / 0.5569 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.4515, allocations: 4 kB / 0.5569 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4515, allocations: 34.56 kB / 0.557 GB, free: 5.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.685e-06/0.4515, allocations: 0 / 0.557 GB, free: 5.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002389/0.4539, allocations: 1.29 MB / 0.5582 GB, free: 3.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.454, allocations: 85.05 kB / 0.5583 GB, free: 3.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.4543, allocations: 300.1 kB / 0.5586 GB, free: 3.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.4544, allocations: 33.83 kB / 0.5586 GB, free: 3.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.4546, allocations: 272.1 kB / 0.5589 GB, free: 3.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.4547, allocations: 154.7 kB / 0.559 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.4549, allocations: 94.14 kB / 0.5591 GB, free: 2.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4551, allocations: 346.8 kB / 0.5595 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.4554, allocations: 201 kB / 0.5597 GB, free: 2.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.4559, allocations: 365.5 kB / 0.56 GB, free: 1.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/0.4567, allocations: 0.6021 MB / 0.5606 GB, free: 1.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.4567, allocations: 4 kB / 0.5606 GB, free: 1.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001075/0.4578, allocations: 0.6227 MB / 0.5612 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.4578, allocations: 11.94 kB / 0.5612 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.4578, allocations: 4 kB / 0.5612 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/0.4579, allocations: 8 kB / 0.5612 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.4584, allocations: 116.4 kB / 0.5613 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.4584, allocations: 11.92 kB / 0.5613 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.4586, allocations: 27.98 kB / 0.5614 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.4587, allocations: 24 kB / 0.5614 GB, free: 296 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003382/0.459, allocations: 213.6 kB / 0.5616 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.4592, allocations: 39.7 kB / 0.5616 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/0.4601, allocations: 0.4886 MB / 0.5621 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/0.4601, allocations: 15.98 kB / 0.5621 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4601, allocations: 4 kB / 0.5621 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4601, allocations: 0 / 0.5621 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.4621, allocations: 0.9716 MB / 0.5631 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4621, allocations: 4 kB / 0.5631 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.4625, allocations: 67.89 kB / 0.5632 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.4625, allocations: 4 kB / 0.5632 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.4626, allocations: 11.98 kB / 0.5632 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.4626, allocations: 0 / 0.5632 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4626, allocations: 4 kB / 0.5632 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.4639, allocations: 0.8401 MB / 0.564 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.464, allocations: 35.8 kB / 0.564 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.4641, allocations: 8 kB / 0.564 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.4643, allocations: 16.08 kB / 0.564 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.4643, allocations: 27.94 kB / 0.5641 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.4644, allocations: 8 kB / 0.5641 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.4646, allocations: 203.1 kB / 0.5643 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4646, allocations: 0 / 0.5643 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005986/0.4652, allocations: 111.9 kB / 0.5644 GB, free: 13.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002624/0.4655, allocations: 139.1 kB / 0.5645 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008037/0.4663, allocations: 472.3 kB / 0.565 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4663, allocations: 1.375 kB / 0.565 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.4666, allocations: 196.5 kB / 0.5652 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.4672, allocations: 81.47 kB / 0.5652 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.4692, allocations: 1.116 MB / 0.5663 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.4696, allocations: 266.2 kB / 0.5666 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003456/0.4699, allocations: 135 kB / 0.5667 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.47, allocations: 35.44 kB / 0.5667 GB, free: 10.66 MB / 414.1 MB Notification: Performance of SimCode: time 5e-07/0.47, allocations: 0 / 0.5667 GB, free: 10.66 MB / 414.1 MB Notification: Performance of Templates: time 0.0105/0.4805, allocations: 4.318 MB / 0.571 GB, free: 6.395 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.625795099884272]