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.001195/0.001195, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.00122/0.00122, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.602 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.2617/0.2617, allocations: 29.42 MB / 290.9 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.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 1.603e-06/1.603e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.115e-05, allocations: 5.547 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004434/0.004455, allocations: 4.068 MB / 373.7 MB, free: 6.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.006322, allocations: 1.344 MB / 375 MB, free: 5.543 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.006491, allocations: 19.81 kB / 375.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.00707, allocations: 274.8 kB / 375.3 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.007434, allocations: 230.7 kB / 375.6 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.007952, allocations: 267.1 kB / 375.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.00838, allocations: 0.5338 MB / 376.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.008656, allocations: 221.8 kB / 376.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003969/0.009053, allocations: 363 kB / 376.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.009287, allocations: 263.3 kB / 377.2 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.009326, allocations: 32 kB / 377.2 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.009536, allocations: 147.7 kB / 377.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.009689, allocations: 235.4 kB / 377.6 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.009821, allocations: 163.6 kB / 377.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.01046, allocations: 438.5 kB / 378.2 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01046, allocations: 0 / 378.2 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01046, allocations: 0 / 378.2 MB, free: 2.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.01047, allocations: 0 / 378.2 MB, free: 2.406 MB / 346.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.0007906/0.01126, allocations: 0.7822 MB / 378.9 MB, free: 1.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.01129, allocations: 11.98 kB / 379 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/0.01175, allocations: 172.4 kB / 379.1 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.01209, allocations: 335.2 kB / 379.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.01211, allocations: 29.38 kB / 379.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.01219, allocations: 48.56 kB / 379.5 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.01267, allocations: 0.4902 MB / 380 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.01269, allocations: 4 kB / 380 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.01272, allocations: 19.98 kB / 380 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.985e-05/0.01279, allocations: 32.98 kB / 380.1 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.01309, allocations: 233.6 kB / 380.3 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.015, allocations: 3.348 MB / 383.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.01521, allocations: 158 kB / 383.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.368e-05/0.0153, allocations: 87.39 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.01533, allocations: 7.938 kB / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.01535, allocations: 41.39 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.382e-06/0.01535, allocations: 0 / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008458/0.0162, allocations: 0.6666 MB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.01623, allocations: 81.11 kB / 384.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.01669, allocations: 366.2 kB / 385 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.01672, allocations: 29.7 kB / 385.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.01684, allocations: 334.8 kB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.0169, allocations: 111.1 kB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.01699, allocations: 95.8 kB / 385.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.01712, allocations: 0.5157 MB / 386.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.01721, allocations: 64.95 kB / 386.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.01742, allocations: 355.5 kB / 386.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.0178, allocations: 470.3 kB / 387 MB, free: 8.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.01781, allocations: 0 / 387 MB, free: 8.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004434/0.01825, allocations: 413 kB / 387.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.01827, allocations: 8 kB / 387.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.01828, allocations: 8 kB / 387.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.0183, allocations: 8 kB / 387.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.01853, allocations: 119.8 kB / 387.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.01854, allocations: 16.42 kB / 387.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.01867, allocations: 23.98 kB / 387.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.0187, allocations: 28 kB / 387.6 MB, free: 8.27 MB / 362.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 0.0001113/0.01881, allocations: 184.4 kB / 387.8 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.01886, allocations: 43.75 kB / 387.8 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.01916, allocations: 257.6 kB / 388.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01917, allocations: 7.984 kB / 388.1 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01917, allocations: 4 kB / 388.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01918, allocations: 0 / 388.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.01989, allocations: 0.704 MB / 388.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01989, allocations: 0 / 388.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.02005, allocations: 67.89 kB / 388.9 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.02006, allocations: 0 / 388.9 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.02007, allocations: 8 kB / 388.9 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.02008, allocations: 4 kB / 388.9 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02008, allocations: 3.938 kB / 388.9 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.02048, allocations: 495.8 kB / 389.4 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.02051, allocations: 31.75 kB / 389.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.02054, allocations: 16.03 kB / 389.4 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.02063, allocations: 11.98 kB / 389.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.02067, allocations: 27.84 kB / 389.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.02069, allocations: 12 kB / 389.5 MB, free: 6.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.0208, allocations: 223 kB / 389.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0208, allocations: 0 / 389.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.02108, allocations: 96 kB / 389.8 MB, free: 5.996 MB / 362.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 8.126e-05/0.02116, allocations: 99.19 kB / 389.9 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.02146, allocations: 248.2 kB / 390.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.02146, allocations: 0 / 390.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.02158, allocations: 109.3 kB / 390.2 MB, free: 5.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.02189, allocations: 75.88 kB / 390.3 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.02313, allocations: 0.852 MB / 391.1 MB, free: 4.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.871e-05/0.02322, allocations: 137.2 kB / 391.3 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.02339, allocations: 115.1 kB / 391.4 MB, free: 4.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.02346, allocations: 36.48 kB / 391.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02346, allocations: 0 / 391.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of Templates: time 0.005418/0.02888, allocations: 3.41 MB / 394.8 MB, free: 0.918 MB / 362.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.0904708532616496]