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.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.001427/0.001427, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001016/0.001016, allocations: 161 kB / 24.56 MB, free: 20 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.017/1.017, allocations: 177.1 MB / 205 MB, free: 5.297 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.3228/0.3228, allocations: 29.42 MB / 290.9 MB, free: 2.465 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.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 1.473e-06/1.473e-06, allocations: 0 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.318e-05, allocations: 2.312 kB / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003504/0.003528, allocations: 3.483 MB / 373.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.004823, allocations: 1.235 MB / 374.3 MB, free: 6.289 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.004926, allocations: 7.938 kB / 374.4 MB, free: 6.281 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.005449, allocations: 211 kB / 374.6 MB, free: 6.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.005847, allocations: 278.6 kB / 374.8 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.006039, allocations: 131.5 kB / 375 MB, free: 5.672 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.006324, allocations: 334.9 kB / 375.3 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.006561, allocations: 118 kB / 375.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.00681, allocations: 199.4 kB / 375.6 MB, free: 5.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.006995, allocations: 147.5 kB / 375.7 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.007015, allocations: 12 kB / 375.8 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.007285, allocations: 283.1 kB / 376 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.007371, allocations: 103.7 kB / 376.1 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.007443, allocations: 71.84 kB / 376.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.007782, allocations: 318.9 kB / 376.5 MB, free: 4.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.007785, allocations: 0 / 376.5 MB, free: 4.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007786, allocations: 0 / 376.5 MB, free: 4.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.00779, allocations: 0 / 376.5 MB, free: 4.117 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000483/0.008273, allocations: 0.5423 MB / 377.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.00831, allocations: 15.98 kB / 377.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.008844, allocations: 140.6 kB / 377.2 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.009079, allocations: 223.8 kB / 377.4 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.009092, allocations: 8.375 kB / 377.4 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.009116, allocations: 16.38 kB / 377.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.009378, allocations: 236.3 kB / 377.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.00939, allocations: 11.92 kB / 377.7 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.009407, allocations: 4 kB / 377.7 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.009438, allocations: 16 kB / 377.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.009637, allocations: 131.8 kB / 377.8 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.01064, allocations: 1.331 MB / 379.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.01082, allocations: 110.3 kB / 379.3 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.01086, allocations: 27.42 kB / 379.3 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.01088, allocations: 12 kB / 379.3 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.0109, allocations: 33.39 kB / 379.3 MB, free: 1.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.0109, allocations: 0 / 379.3 MB, free: 1.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001939/0.0111, allocations: 113.6 kB / 379.5 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.01113, allocations: 81.11 kB / 379.5 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.01127, allocations: 253.5 kB / 379.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.01128, allocations: 25.7 kB / 379.8 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.01136, allocations: 218.7 kB / 380 MB, free: 336 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.01138, allocations: 43.67 kB / 380.1 MB, free: 292 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.01143, allocations: 43.36 kB / 380.1 MB, free: 240 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.01156, allocations: 0.5002 MB / 380.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.0116, allocations: 23.98 kB / 380.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.01169, allocations: 163.2 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.01182, allocations: 195.1 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01183, allocations: 0 / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001738/0.012, allocations: 173.5 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01202, allocations: 11.94 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01202, allocations: 4 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.01204, allocations: 4 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/0.01213, allocations: 47.91 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01214, allocations: 4 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.836e-05/0.0122, allocations: 27.78 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.01221, allocations: 12 kB / 381.3 MB, free: 14.94 MB / 362.7 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 7.653e-05/0.01229, allocations: 168.5 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.01231, allocations: 24 kB / 381.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.01245, allocations: 99.06 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01245, allocations: 8 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.01246, allocations: 0 / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01246, allocations: 0 / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.01287, allocations: 0.5063 MB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.01287, allocations: 8.016 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.01291, allocations: 19.94 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.01292, allocations: 4 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.01292, allocations: 8 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.01293, allocations: 7.984 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01293, allocations: 4 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.01311, allocations: 328.6 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.01313, allocations: 19.91 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.01315, allocations: 4 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.0132, allocations: 8 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.01322, allocations: 19.86 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01323, allocations: 11.94 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.919e-05/0.0133, allocations: 167.1 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0133, allocations: 0 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.01353, allocations: 55.84 kB / 382.7 MB, free: 13.33 MB / 362.7 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 6.83e-05/0.01359, allocations: 91.25 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01373, allocations: 106.4 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01373, allocations: 4 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.01377, allocations: 39.55 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.01403, allocations: 32.92 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008185/0.01484, allocations: 463.5 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.787e-05/0.0149, allocations: 95.81 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.384e-05/0.01497, allocations: 33.45 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.015, allocations: 16.5 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.015, allocations: 0 / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of Templates: time 0.002806/0.0178, allocations: 1.097 MB / 384.7 MB, free: 11.27 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.PMeterTest.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.279530174098909]