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.001716/0.001716, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002449/0.002449, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.51/1.51, allocations: 225.6 MB / 250.8 MB, free: 13.38 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.1774/0.1774, allocations: 38.53 MB / 344.5 MB, free: 2.559 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.001995/0.001995, allocations: 67.89 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.417, allocations: 61.24 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005022/0.422, allocations: 3.542 MB / 0.534 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.4238, allocations: 1.546 MB / 0.5355 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.4239, allocations: 5.781 kB / 0.5355 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007539/0.4247, allocations: 259 kB / 0.5358 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.4251, allocations: 283.8 kB / 0.536 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.4254, allocations: 119 kB / 0.5362 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.4257, allocations: 347.6 kB / 0.5365 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.4259, allocations: 94.72 kB / 0.5366 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.4261, allocations: 156 kB / 0.5367 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.4263, allocations: 168 kB / 0.5369 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.4263, allocations: 13.75 kB / 0.5369 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.4267, allocations: 349.6 kB / 0.5372 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.768e-05/0.4268, allocations: 98.25 kB / 0.5373 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.4269, allocations: 106.2 kB / 0.5374 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.4273, allocations: 356.1 kB / 0.5378 GB, free: 0.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4273, allocations: 0 / 0.5378 GB, free: 0.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4273, allocations: 0 / 0.5378 GB, free: 0.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.4273, allocations: 0 / 0.5378 GB, free: 0.543 MB / 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.0005465/0.4279, allocations: 0.5189 MB / 0.5383 GB, free: 52 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.4279, allocations: 12.8 kB / 0.5383 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/0.4287, allocations: 103.6 kB / 0.5384 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.4291, allocations: 271.9 kB / 0.5386 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.4291, allocations: 20.77 kB / 0.5387 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.4292, allocations: 19.47 kB / 0.5387 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.4297, allocations: 322.7 kB / 0.539 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4297, allocations: 1.281 kB / 0.539 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.4297, allocations: 9.922 kB / 0.539 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.4298, allocations: 19.12 kB / 0.539 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004691/0.4302, allocations: 304.1 kB / 0.5393 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.432, allocations: 1.282 MB / 0.5406 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.4323, allocations: 205.9 kB / 0.5408 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.4324, allocations: 41.8 kB / 0.5408 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4324, allocations: 5.172 kB / 0.5408 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4325, allocations: 40.06 kB / 0.5408 GB, free: 13.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.4325, allocations: 0 / 0.5408 GB, free: 13.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003111/0.4328, allocations: 137.7 kB / 0.541 GB, free: 13.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.4328, allocations: 78.17 kB / 0.5411 GB, free: 13.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4331, allocations: 213.1 kB / 0.5413 GB, free: 13.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4331, allocations: 31.06 kB / 0.5413 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4332, allocations: 168.2 kB / 0.5414 GB, free: 13.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.4332, allocations: 37.34 kB / 0.5415 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.4333, allocations: 43.67 kB / 0.5415 GB, free: 13.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4335, allocations: 327.1 kB / 0.5418 GB, free: 13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.4335, allocations: 46.5 kB / 0.5419 GB, free: 12.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.4337, allocations: 133.2 kB / 0.542 GB, free: 12.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.4339, allocations: 191.5 kB / 0.5422 GB, free: 12.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4339, allocations: 4.969 kB / 0.5422 GB, free: 12.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000304/0.4342, allocations: 211.8 kB / 0.5424 GB, free: 12.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4342, allocations: 6.531 kB / 0.5424 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4342, allocations: 3.25 kB / 0.5424 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.4343, allocations: 4.188 kB / 0.5424 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.4344, allocations: 53.05 kB / 0.5425 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.4344, allocations: 12.77 kB / 0.5425 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.4346, allocations: 27.5 kB / 0.5425 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.4346, allocations: 8.781 kB / 0.5425 GB, free: 12.49 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.0001444/0.4347, allocations: 160.7 kB / 0.5427 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.4348, allocations: 23.11 kB / 0.5427 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.435, allocations: 118.2 kB / 0.5428 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.435, allocations: 1.125 kB / 0.5428 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.435, allocations: 1.062 kB / 0.5428 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.435, allocations: 4.938 kB / 0.5428 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/0.4358, allocations: 0.5795 MB / 0.5434 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4358, allocations: 3.156 kB / 0.5434 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.4359, allocations: 22.7 kB / 0.5434 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4359, allocations: 4.031 kB / 0.5434 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4359, allocations: 6.969 kB / 0.5434 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4359, allocations: 3.562 kB / 0.5434 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4359, allocations: 3.594 kB / 0.5434 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.4362, allocations: 282.9 kB / 0.5437 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.4363, allocations: 92.33 kB / 0.5438 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.4363, allocations: 16.55 kB / 0.5438 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4365, allocations: 2.531 kB / 0.5438 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.4365, allocations: 9.781 kB / 0.5438 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.4365, allocations: 13.69 kB / 0.5438 GB, free: 11.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.4366, allocations: 156.5 kB / 0.544 GB, free: 11.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4366, allocations: 4 kB / 0.544 GB, free: 11.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.437, allocations: 53.14 kB / 0.544 GB, free: 11.18 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.0001188/0.4371, allocations: 97.78 kB / 0.5441 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.4373, allocations: 122.3 kB / 0.5442 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4373, allocations: 1.781 kB / 0.5442 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/0.4374, allocations: 47.14 kB / 0.5443 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.4378, allocations: 34.81 kB / 0.5443 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.4385, allocations: 458.8 kB / 0.5447 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.439, allocations: 0.7547 MB / 0.5455 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.4391, allocations: 33.73 kB / 0.5455 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.4391, allocations: 23.86 kB / 0.5455 GB, free: 9.855 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4391, allocations: 1.562 kB / 0.5455 GB, free: 9.855 MB / 398.1 MB Notification: Performance of Templates: time 0.004272/0.4434, allocations: 1.318 MB / 0.5468 GB, free: 9.199 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.003655770793557]