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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1808/0.1808, allocations: 38.52 MB / 344.5 MB, free: 2.551 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 79.86 kB / 482 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 61.23 MB / 0.5305 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005072/0.3431, allocations: 4.54 MB / 0.535 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3451, allocations: 1.438 MB / 0.5364 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.3453, allocations: 13.5 kB / 0.5364 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.3464, allocations: 399.8 kB / 0.5368 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005392/0.3469, allocations: 256.1 kB / 0.537 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.3475, allocations: 244.2 kB / 0.5373 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.348, allocations: 0.5577 MB / 0.5378 GB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.3483, allocations: 198.1 kB / 0.538 GB, free: 188 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.3486, allocations: 257 kB / 0.5382 GB, free: 40 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.3492, allocations: 377.7 kB / 0.5386 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.3493, allocations: 38.16 kB / 0.5386 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004739/0.3497, allocations: 242.5 kB / 0.5389 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.35, allocations: 245.8 kB / 0.5391 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.3503, allocations: 260.8 kB / 0.5393 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008169/0.3511, allocations: 0.6709 MB / 0.54 GB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3511, allocations: 3.984 kB / 0.54 GB, free: 14.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3511, allocations: 0 / 0.54 GB, free: 14.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3511, allocations: 5.312 kB / 0.54 GB, free: 14.95 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.001445/0.3526, allocations: 0.7784 MB / 0.5408 GB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3526, allocations: 13.23 kB / 0.5408 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000561/0.3532, allocations: 92.48 kB / 0.5409 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/0.3539, allocations: 433.7 kB / 0.5413 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.354, allocations: 28.69 kB / 0.5413 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3541, allocations: 44.28 kB / 0.5414 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.3552, allocations: 0.6772 MB / 0.542 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.3552, allocations: 1.469 kB / 0.542 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.3552, allocations: 20.14 kB / 0.542 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/0.3554, allocations: 49.31 kB / 0.5421 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.3564, allocations: 0.6699 MB / 0.5427 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.3601, allocations: 2.523 MB / 0.5452 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.3607, allocations: 308.6 kB / 0.5455 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.361, allocations: 206.4 kB / 0.5457 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.361, allocations: 7.484 kB / 0.5457 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.3611, allocations: 44.78 kB / 0.5457 GB, free: 10.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.324e-06/0.3611, allocations: 0 / 0.5457 GB, free: 10.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002224/0.3633, allocations: 1.356 MB / 0.5471 GB, free: 9.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3634, allocations: 80.2 kB / 0.5471 GB, free: 9.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.3637, allocations: 302.7 kB / 0.5474 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.3637, allocations: 31.3 kB / 0.5475 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.3639, allocations: 268.6 kB / 0.5477 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.3641, allocations: 157.7 kB / 0.5479 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.3642, allocations: 90.97 kB / 0.548 GB, free: 9.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3644, allocations: 348.7 kB / 0.5483 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.3647, allocations: 202.4 kB / 0.5485 GB, free: 8.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.3652, allocations: 367.3 kB / 0.5488 GB, free: 8.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.366, allocations: 0.6144 MB / 0.5494 GB, free: 7.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.366, allocations: 2.531 kB / 0.5494 GB, free: 7.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009813/0.367, allocations: 0.6242 MB / 0.55 GB, free: 7.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.367, allocations: 11.75 kB / 0.5501 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.367, allocations: 10.11 kB / 0.5501 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.367, allocations: 7.5 kB / 0.5501 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.3675, allocations: 116.2 kB / 0.5502 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.3675, allocations: 11.75 kB / 0.5502 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.3677, allocations: 24.33 kB / 0.5502 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.3678, allocations: 25.7 kB / 0.5502 GB, free: 7.617 MB / 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.000258/0.368, allocations: 215.4 kB / 0.5504 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.3681, allocations: 39.67 kB / 0.5505 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008366/0.3689, allocations: 490.1 kB / 0.5509 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.369, allocations: 12 kB / 0.551 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.369, allocations: 0 / 0.551 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.369, allocations: 7.984 kB / 0.551 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.3709, allocations: 1.109 MB / 0.5521 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3709, allocations: 0 / 0.5521 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.3713, allocations: 71.98 kB / 0.5521 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3713, allocations: 4 kB / 0.5521 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.3713, allocations: 8 kB / 0.5521 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3713, allocations: 4 kB / 0.5521 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3713, allocations: 4 kB / 0.5521 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3725, allocations: 0.8436 MB / 0.553 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3726, allocations: 112.9 kB / 0.5531 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.3726, allocations: 11.98 kB / 0.5531 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3729, allocations: 11.98 kB / 0.5531 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.3729, allocations: 23.91 kB / 0.5531 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.3729, allocations: 12 kB / 0.5531 GB, free: 4.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.3732, allocations: 211.1 kB / 0.5533 GB, free: 4.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3732, allocations: 4 kB / 0.5533 GB, free: 4.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005235/0.3737, allocations: 115.9 kB / 0.5534 GB, free: 4.469 MB / 398.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.0002603/0.374, allocations: 135 kB / 0.5536 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008177/0.3748, allocations: 473.6 kB / 0.554 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3748, allocations: 0 / 0.554 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.3751, allocations: 207.8 kB / 0.5542 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.3756, allocations: 66.38 kB / 0.5543 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3774, allocations: 1.134 MB / 0.5554 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.378, allocations: 0.8743 MB / 0.5562 GB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.3783, allocations: 123.1 kB / 0.5564 GB, free: 1.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3784, allocations: 35.42 kB / 0.5564 GB, free: 1.375 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3784, allocations: 0 / 0.5564 GB, free: 1.375 MB / 398.1 MB Notification: Performance of Templates: time 0.009064/0.3875, allocations: 4.175 MB / 0.5605 GB, free: 13.22 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.22627414856106]