Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 188.2 kB / 23.72 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1942/0.1942, allocations: 38.54 MB / 346.3 MB, free: 2.125 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3982, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004783/0.403, allocations: 3.558 MB / 0.5365 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.4049, allocations: 1.544 MB / 0.538 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.4051, allocations: 9.438 kB / 0.538 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008558/0.4059, allocations: 267.7 kB / 0.5383 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005591/0.4065, allocations: 282.3 kB / 0.5386 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.4068, allocations: 128.5 kB / 0.5387 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.4072, allocations: 335 kB / 0.539 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.4075, allocations: 95.23 kB / 0.5391 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.4078, allocations: 161.4 kB / 0.5392 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.408, allocations: 164 kB / 0.5394 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.408, allocations: 13.75 kB / 0.5394 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005199/0.4086, allocations: 345 kB / 0.5397 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.4087, allocations: 99.53 kB / 0.5398 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.4088, allocations: 107.9 kB / 0.5399 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.4093, allocations: 356.7 kB / 0.5403 GB, free: 396 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4093, allocations: 0 / 0.5403 GB, free: 396 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4093, allocations: 0 / 0.5403 GB, free: 396 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4093, allocations: 4 kB / 0.5403 GB, free: 392 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006088/0.4099, allocations: 454.9 kB / 0.5407 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.41, allocations: 10.5 kB / 0.5407 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009502/0.4109, allocations: 103 kB / 0.5408 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.4113, allocations: 210.4 kB / 0.541 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.4113, allocations: 15.2 kB / 0.541 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.4114, allocations: 23.91 kB / 0.5411 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.412, allocations: 323.2 kB / 0.5414 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.412, allocations: 1.062 kB / 0.5414 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.412, allocations: 6.031 kB / 0.5414 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.4121, allocations: 23.14 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.4126, allocations: 300.4 kB / 0.5417 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.4145, allocations: 1.258 MB / 0.5429 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.4148, allocations: 117.4 kB / 0.543 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.4149, allocations: 45.77 kB / 0.5431 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.4149, allocations: 1.156 kB / 0.5431 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4149, allocations: 35.62 kB / 0.5431 GB, free: 14.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.4149, allocations: 0 / 0.5431 GB, free: 14.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000339/0.4153, allocations: 141.8 kB / 0.5432 GB, free: 13.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002198/0.4155, allocations: 83.48 kB / 0.5433 GB, free: 13.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.4157, allocations: 211.6 kB / 0.5435 GB, free: 13.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.4158, allocations: 31.02 kB / 0.5435 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4159, allocations: 176.8 kB / 0.5437 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.4159, allocations: 36.23 kB / 0.5438 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.416, allocations: 41.27 kB / 0.5438 GB, free: 13.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4162, allocations: 331 kB / 0.5441 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.4163, allocations: 37.52 kB / 0.5441 GB, free: 13.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.4165, allocations: 142.9 kB / 0.5443 GB, free: 12.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.4167, allocations: 187.1 kB / 0.5445 GB, free: 12.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4167, allocations: 5.031 kB / 0.5445 GB, free: 12.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003664/0.4171, allocations: 206.1 kB / 0.5447 GB, free: 12.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4171, allocations: 7.25 kB / 0.5447 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4171, allocations: 2.906 kB / 0.5447 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.4172, allocations: 9.156 kB / 0.5447 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.4173, allocations: 46.11 kB / 0.5447 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.4173, allocations: 7.844 kB / 0.5447 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.4175, allocations: 28.67 kB / 0.5448 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.4175, allocations: 7.406 kB / 0.5448 GB, free: 12.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * 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.0001707/0.4177, allocations: 164.8 kB / 0.5449 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.4177, allocations: 19.28 kB / 0.5449 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.418, allocations: 122.9 kB / 0.5451 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.418, allocations: 1.219 kB / 0.5451 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.418, allocations: 0 / 0.5451 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.418, allocations: 1.219 kB / 0.5451 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008635/0.4188, allocations: 0.5433 MB / 0.5456 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4188, allocations: 3.25 kB / 0.5456 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.4189, allocations: 19.86 kB / 0.5456 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4189, allocations: 7.812 kB / 0.5456 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.4189, allocations: 11.66 kB / 0.5456 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.419, allocations: 7.344 kB / 0.5456 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.419, allocations: 6.234 kB / 0.5456 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.4193, allocations: 275.2 kB / 0.5459 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.4194, allocations: 28.19 kB / 0.5459 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.4194, allocations: 11.95 kB / 0.5459 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4195, allocations: 7.031 kB / 0.5459 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.4196, allocations: 12.23 kB / 0.546 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.4196, allocations: 10.12 kB / 0.546 GB, free: 11.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.4197, allocations: 152 kB / 0.5461 GB, free: 11.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4197, allocations: 5.031 kB / 0.5461 GB, free: 11.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.4202, allocations: 48.17 kB / 0.5462 GB, free: 11.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 10 * 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.0001369/0.4203, allocations: 105.5 kB / 0.5463 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.4206, allocations: 118 kB / 0.5464 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4206, allocations: 4 kB / 0.5464 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.4207, allocations: 37.7 kB / 0.5464 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.4211, allocations: 41.36 kB / 0.5465 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009538/0.4221, allocations: 443 kB / 0.5469 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.4226, allocations: 0.7506 MB / 0.5476 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.4227, allocations: 38.14 kB / 0.5477 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.4228, allocations: 16.34 kB / 0.5477 GB, free: 10.16 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4228, allocations: 288 / 0.5477 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Templates: time 0.005112/0.4279, allocations: 1.387 MB / 0.549 GB, free: 9.465 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.PMeterTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.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: 5.293656378053129]