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.002631/0.002631, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003387/0.003387, allocations: 165.3 kB / 24.27 MB, free: 152 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.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3086/0.3086, allocations: 29.41 MB / 290.5 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.877e-06/3.877e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.102e-05/4.489e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.008296/0.008341, allocations: 4.494 MB / 373.4 MB, free: 6.809 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.01167, allocations: 1.429 MB / 374.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.01193, allocations: 23.81 kB / 374.8 MB, free: 5.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.01316, allocations: 370.4 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006025/0.01376, allocations: 230.6 kB / 375.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008091/0.01457, allocations: 267.1 kB / 375.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007177/0.01529, allocations: 0.5494 MB / 376.2 MB, free: 3.949 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000428/0.01572, allocations: 217.5 kB / 376.4 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.01627, allocations: 335 kB / 376.8 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.01676, allocations: 283.3 kB / 377 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.01683, allocations: 32 kB / 377.1 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.01721, allocations: 159.6 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.01748, allocations: 231.5 kB / 377.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.01773, allocations: 171.6 kB / 377.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008226/0.01856, allocations: 0.5802 MB / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01856, allocations: 0 / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01856, allocations: 0 / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.01857, allocations: 0 / 378.2 MB, free: 1.969 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.001445/0.02002, allocations: 0.7976 MB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.02006, allocations: 11.98 kB / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.02087, allocations: 172.4 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.02163, allocations: 358.8 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.02167, allocations: 29.38 kB / 379.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.0218, allocations: 40.56 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009786/0.02278, allocations: 0.5332 MB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.0228, allocations: 0 / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.02286, allocations: 16 kB / 380.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.02298, allocations: 36.92 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.02355, allocations: 259.6 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004106/0.02766, allocations: 3.446 MB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.02803, allocations: 178 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.02821, allocations: 87.41 kB / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.02824, allocations: 8 kB / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.02829, allocations: 49.31 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.02829, allocations: 0 / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001516/0.0298, allocations: 0.6887 MB / 384.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.02987, allocations: 81.11 kB / 385 MB, free: 10.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.03032, allocations: 418 kB / 385.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.03036, allocations: 29.7 kB / 385.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.03064, allocations: 342.7 kB / 385.7 MB, free: 10 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.03076, allocations: 111.2 kB / 385.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.03093, allocations: 111.8 kB / 385.9 MB, free: 9.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003288/0.03126, allocations: 0.5431 MB / 386.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.03143, allocations: 68.95 kB / 386.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.0319, allocations: 371.5 kB / 386.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.0326, allocations: 490.4 kB / 387.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.0326, allocations: 0 / 387.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007232/0.03332, allocations: 425.4 kB / 387.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.03334, allocations: 8.125 kB / 387.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.03336, allocations: 12 kB / 387.8 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.03338, allocations: 8 kB / 387.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.03382, allocations: 119.8 kB / 388 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.202e-05/0.03384, allocations: 15.94 kB / 388 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.03406, allocations: 19.98 kB / 388 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.0341, allocations: 27.98 kB / 388 MB, free: 7.434 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.0002055/0.03431, allocations: 196.4 kB / 388.2 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-05/0.0344, allocations: 47.7 kB / 388.3 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.03497, allocations: 273.6 kB / 388.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.03497, allocations: 0 / 388.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.03497, allocations: 4 kB / 388.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.03498, allocations: 0 / 388.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.03643, allocations: 0.7819 MB / 389.3 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.03643, allocations: 0 / 389.3 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.03684, allocations: 63.91 kB / 389.4 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.03685, allocations: 8 kB / 389.4 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.03688, allocations: 16.08 kB / 389.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.03689, allocations: 3.938 kB / 389.4 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.03689, allocations: 4 kB / 389.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/0.03768, allocations: 0.5076 MB / 389.9 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.03774, allocations: 23.81 kB / 389.9 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.03779, allocations: 8 kB / 389.9 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.03796, allocations: 11.98 kB / 390 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.03802, allocations: 23.91 kB / 390 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.03804, allocations: 15.92 kB / 390 MB, free: 5.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002574/0.0383, allocations: 247 kB / 390.2 MB, free: 5.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0383, allocations: 7.938 kB / 390.2 MB, free: 5.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004333/0.03874, allocations: 92 kB / 390.3 MB, free: 5.008 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.0001451/0.03888, allocations: 103.2 kB / 390.4 MB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005258/0.03941, allocations: 274 kB / 390.7 MB, free: 4.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03941, allocations: 4.062 kB / 390.7 MB, free: 4.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.03961, allocations: 119.5 kB / 390.8 MB, free: 4.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.0401, allocations: 63.64 kB / 390.9 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.04167, allocations: 0.8484 MB / 391.7 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.04197, allocations: 241.7 kB / 392 MB, free: 3.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003068/0.04228, allocations: 111.1 kB / 392.1 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.04238, allocations: 36.5 kB / 392.1 MB, free: 3.141 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.04238, allocations: 0 / 392.1 MB, free: 3.141 MB / 362.7 MB Notification: Performance of Templates: time 0.008567/0.05094, allocations: 3.268 MB / 395.4 MB, free: 15.95 MB / 378.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.845319499960169]