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.0008977/0.0008977, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002297, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009079/0.0009079, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002726/0.003634, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.035/1.035, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0901/1.125, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1295/0.1295, allocations: 29.45 MB / 273.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1307/0.2602, allocations: 9.537 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.503e-06/1.503e-06, allocations: 3.938 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.317e-05, allocations: 3.297 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004297/0.00431, allocations: 4.171 MB / 288.6 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.006554, allocations: 1.368 MB / 290 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.006796, allocations: 17.91 kB / 290 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.007487, allocations: 363 kB / 290.3 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.007918, allocations: 246.6 kB / 290.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.008562, allocations: 244 kB / 290.8 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.009216, allocations: 0.5684 MB / 291.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.009542, allocations: 229 kB / 291.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005676/0.01011, allocations: 393.7 kB / 292 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.01052, allocations: 256.9 kB / 292.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.01058, allocations: 31.62 kB / 292.3 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.01094, allocations: 155 kB / 292.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.01115, allocations: 218.4 kB / 292.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.01132, allocations: 142 kB / 292.8 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.01182, allocations: 418.5 kB / 293.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.01183, allocations: 0 / 293.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01183, allocations: 1.094 kB / 293.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.01185, allocations: 0 / 293.2 MB, free: 5.672 MB / 282.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.0009053/0.01275, allocations: 0.7183 MB / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.01279, allocations: 8.688 kB / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007793/0.01356, allocations: 219 kB / 294.1 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.01391, allocations: 304.4 kB / 294.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.01393, allocations: 33.36 kB / 294.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.01401, allocations: 52.55 kB / 294.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.01439, allocations: 435 kB / 294.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.0144, allocations: 3.938 kB / 294.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.01443, allocations: 19.94 kB / 295 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.0145, allocations: 32.98 kB / 295 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.01473, allocations: 182.6 kB / 295.2 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.01635, allocations: 2.314 MB / 297.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.01651, allocations: 119.6 kB / 297.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.167e-05/0.01657, allocations: 65.73 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.01659, allocations: 8 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.01662, allocations: 34.5 kB / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.064e-06/0.01662, allocations: 0 / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006695/0.01729, allocations: 480.3 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.01732, allocations: 81.05 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.01748, allocations: 294.7 kB / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.0175, allocations: 33.83 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01761, allocations: 264.5 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.01767, allocations: 99.11 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.01774, allocations: 90.09 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.01784, allocations: 346.7 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.0179, allocations: 51.81 kB / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.01803, allocations: 246.5 kB / 299.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.01829, allocations: 375.1 kB / 300 MB, free: 14.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.0183, allocations: 8 kB / 300 MB, free: 14.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000268/0.01857, allocations: 300.2 kB / 300.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01858, allocations: 11.94 kB / 300.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01859, allocations: 7.984 kB / 300.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.01861, allocations: 16 kB / 300.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.01887, allocations: 131.8 kB / 300.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.01888, allocations: 11.94 kB / 300.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01899, allocations: 12.41 kB / 300.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.01901, allocations: 27.98 kB / 300.5 MB, free: 14.03 MB / 298.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.000102/0.01912, allocations: 148.4 kB / 300.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.01915, allocations: 27.92 kB / 300.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.01963, allocations: 185.7 kB / 300.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01963, allocations: 4 kB / 300.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.01963, allocations: 0 / 300.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01964, allocations: 3.984 kB / 300.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.02017, allocations: 0.5246 MB / 301.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02017, allocations: 0 / 301.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.02036, allocations: 85.7 kB / 301.5 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.02039, allocations: 27.81 kB / 301.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.0204, allocations: 4 kB / 301.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.02041, allocations: 8 kB / 301.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.02041, allocations: 3.984 kB / 301.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.02042, allocations: 4 kB / 301.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.02068, allocations: 347.1 kB / 301.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.0207, allocations: 8 kB / 301.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.02078, allocations: 8 kB / 301.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.02081, allocations: 19.95 kB / 301.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.02082, allocations: 8 kB / 301.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.979e-05/0.02089, allocations: 96.58 kB / 302 MB, free: 12.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02089, allocations: 0 / 302 MB, free: 12.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000255/0.02114, allocations: 96 kB / 302.1 MB, free: 12.36 MB / 298.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.247e-05/0.02123, allocations: 88.33 kB / 302.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.02143, allocations: 216 kB / 302.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.02145, allocations: 8 kB / 302.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.02154, allocations: 101.5 kB / 302.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.02193, allocations: 0.5249 MB / 303 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/0.02752, allocations: 0.8209 MB / 303.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.0276, allocations: 141.2 kB / 304 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.02771, allocations: 51.25 kB / 304.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.02784, allocations: 115.2 kB / 304.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02785, allocations: 8 kB / 304.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of Templates: time 0.005492/0.03334, allocations: 3.466 MB / 307.6 MB, free: 6.75 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8580267168581486]