Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.001838/0.001838, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002348/0.002348, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.1856/0.1856, allocations: 38.55 MB / 353.2 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.ReferenceInertial,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.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,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.ReferenceInertial") [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.00214/0.00214, allocations: 67.89 kB / 493.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3446, allocations: 62.46 MB / 0.5431 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.00641/0.351, allocations: 4.332 MB / 0.5474 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.3539, allocations: 1.387 MB / 0.5487 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.3541, allocations: 25.09 kB / 0.5488 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.3554, allocations: 363.6 kB / 0.5491 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006663/0.3561, allocations: 220.5 kB / 0.5493 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009005/0.357, allocations: 254.5 kB / 0.5496 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000777/0.3578, allocations: 0.5336 MB / 0.5501 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004413/0.3582, allocations: 222.4 kB / 0.5503 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.3587, allocations: 261.2 kB / 0.5505 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.3592, allocations: 296.4 kB / 0.5508 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.3593, allocations: 36.16 kB / 0.5509 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.3597, allocations: 148.2 kB / 0.551 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.3599, allocations: 224.3 kB / 0.5512 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.3602, allocations: 205.9 kB / 0.5514 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000786/0.361, allocations: 0.5717 MB / 0.552 GB, free: 9.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.361, allocations: 0 / 0.552 GB, free: 9.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.361, allocations: 0 / 0.552 GB, free: 9.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.361, allocations: 0 / 0.552 GB, free: 9.934 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001423/0.3624, allocations: 0.6817 MB / 0.5526 GB, free: 9.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3624, allocations: 13.77 kB / 0.5526 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/0.3632, allocations: 114.6 kB / 0.5528 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/0.364, allocations: 349.3 kB / 0.5531 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.364, allocations: 33.8 kB / 0.5531 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3641, allocations: 53.56 kB / 0.5532 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3652, allocations: 0.6178 MB / 0.5538 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3652, allocations: 6 kB / 0.5538 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.3652, allocations: 25.33 kB / 0.5538 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.3654, allocations: 32.7 kB / 0.5538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007965/0.3661, allocations: 485 kB / 0.5543 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00356/0.3697, allocations: 2.66 MB / 0.5569 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.3701, allocations: 224.9 kB / 0.5571 GB, free: 5.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.3704, allocations: 137.7 kB / 0.5572 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.3704, allocations: 8 kB / 0.5572 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.3704, allocations: 34.55 kB / 0.5573 GB, free: 5.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.074e-06/0.3704, allocations: 4 kB / 0.5573 GB, free: 5.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001693/0.3721, allocations: 0.9035 MB / 0.5582 GB, free: 4.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.3722, allocations: 77.11 kB / 0.5582 GB, free: 4.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.3726, allocations: 324.3 kB / 0.5585 GB, free: 4.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3726, allocations: 29.7 kB / 0.5586 GB, free: 4.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.3729, allocations: 283.9 kB / 0.5588 GB, free: 3.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.373, allocations: 111.3 kB / 0.559 GB, free: 3.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.3731, allocations: 98.14 kB / 0.559 GB, free: 3.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3733, allocations: 342.8 kB / 0.5594 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.3736, allocations: 144.9 kB / 0.5595 GB, free: 3.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.374, allocations: 346.6 kB / 0.5598 GB, free: 2.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007196/0.3747, allocations: 0.5168 MB / 0.5603 GB, free: 2.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3747, allocations: 0 / 0.5603 GB, free: 2.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008394/0.3756, allocations: 0.5328 MB / 0.5609 GB, free: 1.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3756, allocations: 8 kB / 0.5609 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.3756, allocations: 11.98 kB / 0.5609 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.3756, allocations: 11.98 kB / 0.5609 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.376, allocations: 119.8 kB / 0.561 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.3761, allocations: 11.94 kB / 0.561 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.3763, allocations: 27.97 kB / 0.561 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.3763, allocations: 20 kB / 0.5611 GB, free: 1.289 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * 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.0002667/0.3766, allocations: 217.7 kB / 0.5613 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.3767, allocations: 35.81 kB / 0.5613 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/0.3773, allocations: 362.1 kB / 0.5617 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3774, allocations: 4 kB / 0.5617 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3774, allocations: 0 / 0.5617 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3774, allocations: 4 kB / 0.5617 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.3788, allocations: 0.7703 MB / 0.5624 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3788, allocations: 3.938 kB / 0.5624 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.3791, allocations: 71.98 kB / 0.5625 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3791, allocations: 0 / 0.5625 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.3791, allocations: 12 kB / 0.5625 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3791, allocations: 4 kB / 0.5625 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3791, allocations: 0 / 0.5625 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.38, allocations: 0.5819 MB / 0.5631 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/0.3801, allocations: 39.7 kB / 0.5631 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.3801, allocations: 12 kB / 0.5631 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.3803, allocations: 12.03 kB / 0.5631 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.3803, allocations: 19.91 kB / 0.5632 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.3804, allocations: 19.98 kB / 0.5632 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.3806, allocations: 207.1 kB / 0.5634 GB, free: 14.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3806, allocations: 0 / 0.5634 GB, free: 14.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.3811, allocations: 96 kB / 0.5635 GB, free: 14.75 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 (31): * Single equations (assignments): 30 * 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.0001349/0.3812, allocations: 99.19 kB / 0.5636 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.3818, allocations: 360.5 kB / 0.5639 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3818, allocations: 0 / 0.5639 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.382, allocations: 135.8 kB / 0.564 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.3826, allocations: 60.81 kB / 0.5641 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.3843, allocations: 1.051 MB / 0.5651 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3846, allocations: 253.7 kB / 0.5654 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3848, allocations: 43.42 kB / 0.5654 GB, free: 12.69 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3848, allocations: 0 / 0.5654 GB, free: 12.69 MB / 414.1 MB Notification: Performance of Templates: time 0.008728/0.3935, allocations: 5.175 MB / 0.5704 GB, free: 7.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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: 8.632368538994342]