Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.001525/0.001525, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001685/0.001685, allocations: 190 kB / 22.21 MB, free: 112 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.434/1.434, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.1819/0.1819, allocations: 38.53 MB / 344.5 MB, free: 2.594 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.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.89 kB / 482 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3615, allocations: 61.25 MB / 0.5306 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005459/0.367, allocations: 5.565 MB / 0.536 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3684, allocations: 1.124 MB / 0.5371 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.3685, allocations: 18.88 kB / 0.5371 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.3687, allocations: 82.08 kB / 0.5372 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005288/0.3693, allocations: 301.2 kB / 0.5375 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.3695, allocations: 140.3 kB / 0.5376 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.37, allocations: 0.6978 MB / 0.5383 GB, free: 96 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3702, allocations: 120.7 kB / 0.5384 GB, free: 16 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.3706, allocations: 314.1 kB / 0.5387 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.3711, allocations: 343 kB / 0.539 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.3712, allocations: 33.47 kB / 0.5391 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.3712, allocations: 33.28 kB / 0.5391 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.3714, allocations: 163.1 kB / 0.5392 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.3717, allocations: 243.5 kB / 0.5395 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.3722, allocations: 495.3 kB / 0.54 GB, free: 15.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3722, allocations: 1 kB / 0.54 GB, free: 15.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3722, allocations: 0 / 0.54 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3722, allocations: 3.938 kB / 0.54 GB, free: 15.04 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00133/0.3736, allocations: 0.8035 MB / 0.5407 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.3736, allocations: 9.219 kB / 0.5408 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.3737, allocations: 53.3 kB / 0.5408 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.3744, allocations: 470.1 kB / 0.5413 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.3744, allocations: 31.84 kB / 0.5413 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.3745, allocations: 36.84 kB / 0.5413 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.3751, allocations: 455 kB / 0.5417 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3752, allocations: 13.05 kB / 0.5418 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.3752, allocations: 15.31 kB / 0.5418 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.3752, allocations: 9.188 kB / 0.5418 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.3757, allocations: 313.3 kB / 0.5421 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.3778, allocations: 1.765 MB / 0.5438 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.378, allocations: 145.2 kB / 0.5439 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.601e-05/0.3781, allocations: 57.22 kB / 0.544 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.3781, allocations: 0 / 0.544 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.3781, allocations: 33.47 kB / 0.544 GB, free: 11.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.3781, allocations: 0 / 0.544 GB, free: 11.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001039/0.3792, allocations: 0.6174 MB / 0.5446 GB, free: 11.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.3793, allocations: 112 kB / 0.5447 GB, free: 10.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.3797, allocations: 369.1 kB / 0.5451 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3797, allocations: 30.8 kB / 0.5451 GB, free: 10.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.3799, allocations: 288.4 kB / 0.5454 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.3799, allocations: 55.39 kB / 0.5455 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.575e-05/0.38, allocations: 64.38 kB / 0.5455 GB, free: 10.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3802, allocations: 346.5 kB / 0.5458 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/0.3803, allocations: 46.98 kB / 0.5459 GB, free: 10 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3805, allocations: 195 kB / 0.5461 GB, free: 9.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.3808, allocations: 277.5 kB / 0.5463 GB, free: 9.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3808, allocations: 2.094 kB / 0.5463 GB, free: 9.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004178/0.3813, allocations: 289.1 kB / 0.5466 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3813, allocations: 10.81 kB / 0.5466 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3813, allocations: 6.031 kB / 0.5466 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3813, allocations: 6.656 kB / 0.5466 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.3815, allocations: 69 kB / 0.5467 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.3816, allocations: 10.94 kB / 0.5467 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.3817, allocations: 15.44 kB / 0.5467 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.3818, allocations: 16.78 kB / 0.5467 GB, free: 9.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0001867/0.3819, allocations: 190.5 kB / 0.5469 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.382, allocations: 41.84 kB / 0.547 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.3823, allocations: 172.3 kB / 0.5471 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3823, allocations: 2.25 kB / 0.5471 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3823, allocations: 5.031 kB / 0.5471 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3823, allocations: 5.234 kB / 0.5471 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/0.383, allocations: 0.525 MB / 0.5477 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.383, allocations: 5.438 kB / 0.5477 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.3832, allocations: 35.67 kB / 0.5477 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3832, allocations: 2.219 kB / 0.5477 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3832, allocations: 6.156 kB / 0.5477 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3832, allocations: 1.406 kB / 0.5477 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3832, allocations: 5.906 kB / 0.5477 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.3836, allocations: 403.3 kB / 0.5481 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/0.3837, allocations: 110.1 kB / 0.5482 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.3838, allocations: 2.5 kB / 0.5482 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.3839, allocations: 13.44 kB / 0.5482 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.384, allocations: 9.859 kB / 0.5482 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.384, allocations: 8.625 kB / 0.5482 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002653/0.3842, allocations: 251.7 kB / 0.5485 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3842, allocations: 0 / 0.5485 GB, free: 7.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004128/0.3847, allocations: 77.28 kB / 0.5485 GB, free: 7.891 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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.0001065/0.3848, allocations: 109.5 kB / 0.5487 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.385, allocations: 146.1 kB / 0.5488 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3851, allocations: 0 / 0.5488 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.3851, allocations: 60.78 kB / 0.5488 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.3858, allocations: 96.92 kB / 0.5489 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3872, allocations: 0.8777 MB / 0.5498 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.3877, allocations: 0.8386 MB / 0.5506 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.3878, allocations: 50.44 kB / 0.5507 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.3879, allocations: 32.22 kB / 0.5507 GB, free: 6.23 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3879, allocations: 0 / 0.5507 GB, free: 6.23 MB / 398.1 MB Notification: Performance of Templates: time 0.007967/0.3959, allocations: 3.412 MB / 0.554 GB, free: 4.062 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.041147011332214]