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.001487/0.001487, allocations: 80.8 kB / 21.49 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.002049/0.002049, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2678/0.2678, allocations: 29.43 MB / 291.2 MB, free: 2.398 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.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.765e-05/4.036e-05, allocations: 4.109 kB / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004588/0.004628, allocations: 4.079 MB / 320.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.006394, allocations: 1.348 MB / 322.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.006558, allocations: 19.88 kB / 322.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.007169, allocations: 282.7 kB / 322.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.007517, allocations: 230.7 kB / 322.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.007973, allocations: 263.1 kB / 323 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.008383, allocations: 0.5338 MB / 323.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.008657, allocations: 244.3 kB / 323.8 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.00905, allocations: 367 kB / 324.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.00929, allocations: 247.3 kB / 324.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.009326, allocations: 28 kB / 324.4 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.009532, allocations: 147.7 kB / 324.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.009694, allocations: 243.4 kB / 324.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.009817, allocations: 159.7 kB / 325 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.0102, allocations: 442.5 kB / 325.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01021, allocations: 0 / 325.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01021, allocations: 0 / 325.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.01021, allocations: 0 / 325.4 MB, free: 7.391 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.000694/0.01091, allocations: 0.622 MB / 326 MB, free: 6.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.01094, allocations: 15.98 kB / 326 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.01134, allocations: 132.8 kB / 326.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.01166, allocations: 312.4 kB / 326.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.01168, allocations: 33.38 kB / 326.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.798e-05/0.01176, allocations: 44.56 kB / 326.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.01212, allocations: 442.9 kB / 327 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.01214, allocations: 0 / 327 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.01216, allocations: 20 kB / 327 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/0.01222, allocations: 32.98 kB / 327 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.01243, allocations: 178.6 kB / 327.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.01398, allocations: 2.31 MB / 329.5 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.01414, allocations: 131.5 kB / 329.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.285e-05/0.0142, allocations: 61.75 kB / 329.7 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.01422, allocations: 4 kB / 329.7 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.01425, allocations: 34.56 kB / 329.7 MB, free: 2.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.873e-06/0.01425, allocations: 0 / 329.7 MB, free: 2.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006288/0.01488, allocations: 468.3 kB / 330.2 MB, free: 2.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.01492, allocations: 81.11 kB / 330.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.01508, allocations: 294.8 kB / 330.6 MB, free: 1.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.01509, allocations: 29.7 kB / 330.6 MB, free: 1.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.01521, allocations: 264.4 kB / 330.9 MB, free: 1.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.01526, allocations: 111.1 kB / 331 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.01533, allocations: 86.11 kB / 331 MB, free: 1.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.01545, allocations: 346.7 kB / 331.4 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.01551, allocations: 51.8 kB / 331.4 MB, free: 1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.01565, allocations: 246.6 kB / 331.7 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.01595, allocations: 356.1 kB / 332 MB, free: 228 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01596, allocations: 0 / 332 MB, free: 228 kB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002716/0.01623, allocations: 300.1 kB / 332.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01624, allocations: 19.86 kB / 332.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.01625, allocations: 8 kB / 332.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.01627, allocations: 8 kB / 332.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.01647, allocations: 107.8 kB / 332.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.01648, allocations: 15.94 kB / 332.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01658, allocations: 16.47 kB / 332.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.0166, allocations: 24 kB / 332.5 MB, free: 15.73 MB / 314.7 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 9.591e-05/0.0167, allocations: 144.5 kB / 332.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.01673, allocations: 23.98 kB / 332.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.01695, allocations: 193.6 kB / 332.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.01695, allocations: 4 kB / 332.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01695, allocations: 0 / 332.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.01696, allocations: 7.984 kB / 332.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.01748, allocations: 0.513 MB / 333.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01748, allocations: 3.938 kB / 333.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.01764, allocations: 55.97 kB / 333.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.01764, allocations: 4 kB / 333.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.01765, allocations: 8 kB / 333.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01766, allocations: 7.922 kB / 333.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.01766, allocations: 8 kB / 333.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.01806, allocations: 347.5 kB / 333.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.01809, allocations: 35.7 kB / 333.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.01812, allocations: 12.09 kB / 333.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.01819, allocations: 4 kB / 333.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.01821, allocations: 23.89 kB / 333.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.01823, allocations: 12 kB / 333.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.01829, allocations: 96.61 kB / 334 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01829, allocations: 0 / 334 MB, free: 14.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01853, allocations: 96 kB / 334.1 MB, free: 14.06 MB / 314.7 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 9.015e-05/0.01862, allocations: 80.36 kB / 334.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.01881, allocations: 205.4 kB / 334.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.01882, allocations: 4 kB / 334.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/0.01889, allocations: 86.5 kB / 334.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01915, allocations: 78.25 kB / 334.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.02025, allocations: 0.7967 MB / 335.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.641e-05/0.02035, allocations: 145.2 kB / 335.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02046, allocations: 51.27 kB / 335.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.02059, allocations: 107.4 kB / 335.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02059, allocations: 0 / 335.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of Templates: time 0.005731/0.02632, allocations: 3.512 MB / 339.1 MB, free: 9.016 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.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: 3.1920842728577554]