Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.002/0.002, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00269/0.00269, allocations: 216.9 kB / 23.73 MB, free: 4.164 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1925/0.1925, allocations: 38.56 MB / 352.5 MB, free: 12.31 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.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [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.002146/0.002146, allocations: 63.91 kB / 493 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4107, allocations: 62.47 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.009146/0.4199, allocations: 5.827 MB / 0.5481 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004205/0.4241, allocations: 1.884 MB / 0.5499 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.4245, allocations: 33.84 kB / 0.55 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.4265, allocations: 0.6745 MB / 0.5506 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.4278, allocations: 379.4 kB / 0.551 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.4293, allocations: 407.7 kB / 0.5514 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.4309, allocations: 0.941 MB / 0.5523 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007828/0.4317, allocations: 388.8 kB / 0.5527 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.4327, allocations: 459.4 kB / 0.5531 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.4338, allocations: 0.5449 MB / 0.5536 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.4339, allocations: 57.69 kB / 0.5537 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006677/0.4345, allocations: 242.9 kB / 0.5539 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005613/0.4351, allocations: 422.2 kB / 0.5543 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.4356, allocations: 360.5 kB / 0.5547 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.4371, allocations: 1.036 MB / 0.5557 GB, free: 6.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4371, allocations: 0 / 0.5557 GB, free: 6.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4371, allocations: 0 / 0.5557 GB, free: 6.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.4371, allocations: 3.938 kB / 0.5557 GB, free: 6.578 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002252/0.4393, allocations: 1.019 MB / 0.5567 GB, free: 5.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.4394, allocations: 15.97 kB / 0.5567 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.4405, allocations: 212.1 kB / 0.5569 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.4416, allocations: 486.2 kB / 0.5574 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/0.4416, allocations: 58.38 kB / 0.5574 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.4418, allocations: 80.11 kB / 0.5575 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.4437, allocations: 1.126 MB / 0.5586 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.4437, allocations: 7.938 kB / 0.5586 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/0.4438, allocations: 35.98 kB / 0.5586 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.529e-05/0.4439, allocations: 49.97 kB / 0.5587 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.4453, allocations: 0.8623 MB / 0.5595 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005926/0.4513, allocations: 4.718 MB / 0.5641 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/0.452, allocations: 396.1 kB / 0.5645 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.4523, allocations: 197.6 kB / 0.5647 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.601e-05/0.4524, allocations: 8 kB / 0.5647 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.4524, allocations: 34.56 kB / 0.5647 GB, free: 12.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 3.506e-06/0.4524, allocations: 0 / 0.5647 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002142/0.4546, allocations: 1.082 MB / 0.5658 GB, free: 11.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.4546, allocations: 85.23 kB / 0.5659 GB, free: 11.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005905/0.4552, allocations: 497.4 kB / 0.5664 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.4553, allocations: 37.7 kB / 0.5664 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.4556, allocations: 471.1 kB / 0.5668 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.4558, allocations: 166.6 kB / 0.567 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.456, allocations: 158.5 kB / 0.5672 GB, free: 10.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4562, allocations: 362.8 kB / 0.5675 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.4566, allocations: 241.8 kB / 0.5677 GB, free: 9.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007455/0.4573, allocations: 0.609 MB / 0.5683 GB, free: 8.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.4586, allocations: 0.9416 MB / 0.5692 GB, free: 7.863 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4586, allocations: 4 kB / 0.5692 GB, free: 7.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001404/0.46, allocations: 0.9004 MB / 0.5701 GB, free: 6.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.4601, allocations: 12 kB / 0.5701 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.4601, allocations: 12 kB / 0.5702 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.759e-05/0.4601, allocations: 20 kB / 0.5702 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.4609, allocations: 215.6 kB / 0.5704 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.787e-05/0.4609, allocations: 23.94 kB / 0.5704 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.4614, allocations: 55.91 kB / 0.5705 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.4614, allocations: 47.98 kB / 0.5705 GB, free: 6.574 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * 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.0004405/0.4619, allocations: 305.7 kB / 0.5708 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/0.462, allocations: 51.67 kB / 0.5708 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.463, allocations: 0.56 MB / 0.5714 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.463, allocations: 11.94 kB / 0.5714 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.463, allocations: 0 / 0.5714 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.463, allocations: 3.984 kB / 0.5714 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.4652, allocations: 1.157 MB / 0.5725 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4652, allocations: 3.938 kB / 0.5725 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.4656, allocations: 107.9 kB / 0.5726 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.4656, allocations: 4 kB / 0.5726 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.4657, allocations: 19.98 kB / 0.5727 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.4657, allocations: 7.938 kB / 0.5727 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4657, allocations: 3.938 kB / 0.5727 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.4666, allocations: 0.6462 MB / 0.5733 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4667, allocations: 51.62 kB / 0.5734 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.4668, allocations: 12 kB / 0.5734 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.467, allocations: 31.89 kB / 0.5734 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.4671, allocations: 43.72 kB / 0.5734 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.4671, allocations: 12 kB / 0.5734 GB, free: 3.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003657/0.4675, allocations: 311.1 kB / 0.5737 GB, free: 3.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4675, allocations: 0 / 0.5737 GB, free: 3.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007988/0.4683, allocations: 156 kB / 0.5739 GB, free: 2.973 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * 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.00016/0.4685, allocations: 119.1 kB / 0.574 GB, free: 2.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009908/0.4694, allocations: 0.5807 MB / 0.5746 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4694, allocations: 0 / 0.5746 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.4698, allocations: 215.6 kB / 0.5748 GB, free: 2.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.4705, allocations: 116.7 kB / 0.5749 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.4729, allocations: 1.38 MB / 0.5762 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.4734, allocations: 410.7 kB / 0.5766 GB, free: 84 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005344/0.474, allocations: 228.9 kB / 0.5768 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.4741, allocations: 47.44 kB / 0.5769 GB, free: 15.81 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4741, allocations: 3.938 kB / 0.5769 GB, free: 15.81 MB / 430.1 MB Notification: Performance of Templates: time 0.01314/0.4872, allocations: 6.346 MB / 0.5831 GB, free: 9.562 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.586482930928469]