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.001374/0.001374, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001746/0.001746, allocations: 165.5 kB / 24.82 MB, free: 9.27 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.163/1.163, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.3454/0.3454, allocations: 29.42 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 179] 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.675e-06/2.675e-06, allocations: 0 / 370.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.284e-05, allocations: 6.312 kB / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006631/0.006664, allocations: 4.053 MB / 374.1 MB, free: 6.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.009554, allocations: 1.332 MB / 375.5 MB, free: 5.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004666/0.01002, allocations: 19.81 kB / 375.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.01126, allocations: 278.7 kB / 375.8 MB, free: 5.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007992/0.01206, allocations: 230.7 kB / 376 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.01317, allocations: 259.2 kB / 376.2 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009455/0.01411, allocations: 0.5376 MB / 376.8 MB, free: 4.039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.01466, allocations: 217.8 kB / 377 MB, free: 3.828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009318/0.01559, allocations: 367.1 kB / 377.3 MB, free: 3.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.0162, allocations: 263.2 kB / 377.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.01633, allocations: 28 kB / 377.6 MB, free: 3.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.01686, allocations: 151.7 kB / 377.8 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.01716, allocations: 231.4 kB / 378 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.01746, allocations: 159.6 kB / 378.2 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008733/0.01833, allocations: 446.4 kB / 378.6 MB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.01834, allocations: 0 / 378.6 MB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.01834, allocations: 4 kB / 378.6 MB, free: 2.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.076e-05/0.01836, allocations: 0 / 378.6 MB, free: 2.211 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.001474/0.01983, allocations: 0.7627 MB / 379.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.805e-05/0.0199, allocations: 11.98 kB / 379.4 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008336/0.02074, allocations: 148.5 kB / 379.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007028/0.02144, allocations: 319.2 kB / 379.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.02148, allocations: 33.31 kB / 379.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.02163, allocations: 44.5 kB / 379.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.02238, allocations: 481.9 kB / 380.4 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.0224, allocations: 4 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.02243, allocations: 16 kB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.0225, allocations: 32.98 kB / 380.4 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.02277, allocations: 194.6 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.02623, allocations: 3.251 MB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.02651, allocations: 145.9 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.02663, allocations: 75.39 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.02667, allocations: 4 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.02671, allocations: 37.39 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.665e-06/0.02671, allocations: 0 / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001229/0.02794, allocations: 0.5191 MB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.02801, allocations: 81.11 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.02838, allocations: 354 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.02841, allocations: 29.7 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.02859, allocations: 334.7 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.682e-05/0.02867, allocations: 111 kB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.02878, allocations: 103.8 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.02898, allocations: 0.5235 MB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.02905, allocations: 45.08 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.02932, allocations: 343.5 kB / 386.5 MB, free: 9.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/0.02986, allocations: 446.2 kB / 387 MB, free: 9.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.02986, allocations: 4 kB / 387 MB, free: 9.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006113/0.03047, allocations: 364.7 kB / 387.3 MB, free: 8.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.03051, allocations: 15.34 kB / 387.3 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.03053, allocations: 8 kB / 387.4 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.03056, allocations: 12 kB / 387.4 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.03083, allocations: 111.8 kB / 387.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.03084, allocations: 15.94 kB / 387.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.03097, allocations: 20 kB / 387.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.03099, allocations: 16 kB / 387.5 MB, free: 8.586 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.0001772/0.03117, allocations: 188.4 kB / 387.7 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.03125, allocations: 43.75 kB / 387.8 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.0317, allocations: 225.6 kB / 388 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.03171, allocations: 8 kB / 388 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.03172, allocations: 0 / 388 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.03173, allocations: 7.984 kB / 388 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.03292, allocations: 0.6068 MB / 388.6 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.03293, allocations: 0 / 388.6 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.03321, allocations: 59.92 kB / 388.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.03322, allocations: 4 kB / 388.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.03325, allocations: 11.98 kB / 388.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.03325, allocations: 0 / 388.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.03326, allocations: 12.03 kB / 388.7 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.03389, allocations: 451.8 kB / 389.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.03396, allocations: 31.75 kB / 389.2 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.03401, allocations: 8.047 kB / 389.2 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.03416, allocations: 11.98 kB / 389.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.03421, allocations: 27.89 kB / 389.2 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.03423, allocations: 4 kB / 389.2 MB, free: 6.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001688/0.0344, allocations: 211 kB / 389.4 MB, free: 6.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0344, allocations: 0 / 389.4 MB, free: 6.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.03473, allocations: 96 kB / 389.5 MB, free: 6.508 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 0.0001432/0.03488, allocations: 107.2 kB / 389.6 MB, free: 6.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.03523, allocations: 225.3 kB / 389.8 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.03523, allocations: 0.625 kB / 389.8 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.03538, allocations: 103.5 kB / 389.9 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.03597, allocations: 64.56 kB / 390 MB, free: 6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.03822, allocations: 0.8366 MB / 390.8 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.03839, allocations: 137.2 kB / 391 MB, free: 4.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.03864, allocations: 55.25 kB / 391 MB, free: 4.906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.03888, allocations: 138.2 kB / 391.2 MB, free: 4.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.733e-06/0.03888, allocations: 0 / 391.2 MB, free: 4.77 MB / 362.7 MB Notification: Performance of Templates: time 0.01015/0.04904, allocations: 3.496 MB / 394.7 MB, free: 1.34 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.6005772622302175]