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.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.000965/0.000965, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001019/0.001019, allocations: 171.9 kB / 24.91 MB, free: 8.773 MB / 18.57 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.129 MB / 186.7 MB " [Timeout remaining time 179] 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.2414/0.2414, allocations: 29.42 MB / 291.2 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.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 1.633e-06/1.633e-06, allocations: 0 / 316.9 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.277e-05, allocations: 2.312 kB / 316.9 MB, free: 8 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006837/0.00686, allocations: 4.878 MB / 321.7 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.008806, allocations: 1.142 MB / 322.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.009098, allocations: 27.75 kB / 322.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.009341, allocations: 75.27 kB / 323 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006138/0.009955, allocations: 302.1 kB / 323.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.01022, allocations: 147.7 kB / 323.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.01081, allocations: 0.7238 MB / 324.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.01101, allocations: 121.7 kB / 324.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000682/0.01169, allocations: 0.4948 MB / 324.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.01205, allocations: 235.2 kB / 325 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.01211, allocations: 36 kB / 325 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.01217, allocations: 32 kB / 325.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.01229, allocations: 171.5 kB / 325.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.01243, allocations: 163.5 kB / 325.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.01273, allocations: 342.7 kB / 325.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.01273, allocations: 0 / 325.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01273, allocations: 3.938 kB / 325.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.01274, allocations: 0 / 325.7 MB, free: 7.105 MB / 298.7 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.0006679/0.01341, allocations: 0.6687 MB / 326.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.01344, allocations: 8.031 kB / 326.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.01351, allocations: 56.89 kB / 326.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.0139, allocations: 373.2 kB / 326.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.01392, allocations: 29.38 kB / 326.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.01396, allocations: 44.12 kB / 326.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.01426, allocations: 311.6 kB / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.01428, allocations: 0 / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.0143, allocations: 16 kB / 327.2 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.01431, allocations: 12 kB / 327.2 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.01445, allocations: 112.6 kB / 327.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.01561, allocations: 1.474 MB / 328.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.01574, allocations: 111.8 kB / 328.9 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.01578, allocations: 42.62 kB / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.01579, allocations: 0 / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.01582, allocations: 38.55 kB / 329 MB, free: 3.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.01582, allocations: 0 / 329 MB, free: 3.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002636/0.01609, allocations: 137.4 kB / 329.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.01613, allocations: 106.8 kB / 329.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.01632, allocations: 339.1 kB / 329.6 MB, free: 3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.01633, allocations: 25.7 kB / 329.6 MB, free: 2.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.01646, allocations: 252.8 kB / 329.8 MB, free: 2.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.01649, allocations: 55.7 kB / 329.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.01655, allocations: 65.64 kB / 330 MB, free: 2.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.01665, allocations: 350.7 kB / 330.3 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.01667, allocations: 19.98 kB / 330.3 MB, free: 2.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.01676, allocations: 162.4 kB / 330.5 MB, free: 1.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.01692, allocations: 218 kB / 330.7 MB, free: 1.719 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01692, allocations: 4 kB / 330.7 MB, free: 1.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001965/0.01712, allocations: 193.7 kB / 330.9 MB, free: 1.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.01714, allocations: 15.92 kB / 330.9 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01715, allocations: 8.031 kB / 330.9 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.01716, allocations: 8 kB / 330.9 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.01736, allocations: 74.3 kB / 331 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.01737, allocations: 11.94 kB / 331 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.01746, allocations: 39.72 kB / 331 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.01748, allocations: 12 kB / 331 MB, free: 1.355 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (36): * Single equations (assignments): 36 * 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.0001026/0.01758, allocations: 136.5 kB / 331.2 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.01762, allocations: 27.91 kB / 331.2 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.01776, allocations: 112.8 kB / 331.3 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01776, allocations: 8 kB / 331.3 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.01776, allocations: 0 / 331.3 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01777, allocations: 0 / 331.3 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.01797, allocations: 173.7 kB / 331.5 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01797, allocations: 7.875 kB / 331.5 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.01809, allocations: 35.98 kB / 331.5 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/0.01809, allocations: 7.922 kB / 331.5 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.0181, allocations: 8.25 kB / 331.6 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.01811, allocations: 4 kB / 331.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01811, allocations: 0 / 331.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.01831, allocations: 313.8 kB / 331.9 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.01834, allocations: 31.77 kB / 331.9 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.01836, allocations: 3.938 kB / 331.9 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.01844, allocations: 8 kB / 331.9 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.01846, allocations: 7.984 kB / 331.9 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.01847, allocations: 4 kB / 331.9 MB, free: 436 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.035e-05/0.01856, allocations: 128.7 kB / 332 MB, free: 308 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01856, allocations: 4 kB / 332 MB, free: 304 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.01881, allocations: 91.78 kB / 332.1 MB, free: 212 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltage2.theta,ind2.i,ind1.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 (17): * Single equations (assignments): 16 * 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 9.141e-05/0.01891, allocations: 88.28 kB / 332.2 MB, free: 116 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.01907, allocations: 117.2 kB / 332.3 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.01908, allocations: 4 kB / 332.3 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.748e-05/0.01913, allocations: 41.97 kB / 332.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.01951, allocations: 107.4 kB / 332.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.02071, allocations: 0.757 MB / 333.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.154e-05/0.02079, allocations: 117.3 kB / 333.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.0209, allocations: 47.25 kB / 333.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.02105, allocations: 127.3 kB / 333.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02105, allocations: 0 / 333.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Templates: time 0.005862/0.02691, allocations: 3.683 MB / 337.2 MB, free: 11.18 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.864685225300491]