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.001213/0.001213, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002774, 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.0009664/0.0009664, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002186, 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 0.9681/0.9681, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09277/1.061, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.1237/0.1237, allocations: 29.45 MB / 273.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1345/0.2581, allocations: 9.528 MB / 283.1 MB, free: 12.83 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.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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="pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.099e-05, allocations: 3.297 kB / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005014/0.005035, allocations: 3.58 MB / 288 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.007046, allocations: 1.246 MB / 289.3 MB, free: 8.055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.007218, allocations: 8.656 kB / 289.3 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006453/0.007863, allocations: 251.7 kB / 289.5 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006554/0.008518, allocations: 291.6 kB / 289.8 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.008883, allocations: 137.6 kB / 289.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005087/0.009392, allocations: 355.9 kB / 290.3 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.00964, allocations: 120.3 kB / 290.4 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004437/0.01008, allocations: 216.8 kB / 290.6 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.01036, allocations: 145.5 kB / 290.8 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.01039, allocations: 13.75 kB / 290.8 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.01089, allocations: 287 kB / 291.1 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.01103, allocations: 104.1 kB / 291.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.01112, allocations: 62.88 kB / 291.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.01169, allocations: 287.4 kB / 291.5 MB, free: 6.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.491e-05/0.0117, allocations: 7.938 kB / 291.5 MB, free: 6.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0117, allocations: 0 / 291.5 MB, free: 6.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.01172, allocations: 0 / 291.5 MB, free: 6.746 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007016/0.01242, allocations: 489.6 kB / 292 MB, free: 6.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.01245, allocations: 8.469 kB / 292 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008542/0.01331, allocations: 220.2 kB / 292.2 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.01368, allocations: 209.9 kB / 292.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.0137, allocations: 12 kB / 292.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.01373, allocations: 15.66 kB / 292.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.01407, allocations: 214.8 kB / 292.6 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01408, allocations: 3.938 kB / 292.6 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.0141, allocations: 5.812 kB / 292.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.01414, allocations: 10.69 kB / 292.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.01432, allocations: 97.62 kB / 292.8 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.01544, allocations: 0.9786 MB / 293.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.01564, allocations: 129 kB / 293.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.01567, allocations: 26.33 kB / 293.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.01569, allocations: 3.375 kB / 293.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.01571, allocations: 34.56 kB / 293.9 MB, free: 4.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.485e-06/0.01572, allocations: 0 / 293.9 MB, free: 4.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001832/0.0159, allocations: 80.98 kB / 294 MB, free: 4.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.01595, allocations: 94.97 kB / 294.1 MB, free: 4.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.01608, allocations: 184.7 kB / 294.3 MB, free: 4.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.01609, allocations: 25.7 kB / 294.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.01617, allocations: 167.3 kB / 294.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.0162, allocations: 34.27 kB / 294.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.01625, allocations: 42.42 kB / 294.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.01635, allocations: 326.2 kB / 294.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.01637, allocations: 19.55 kB / 294.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.01646, allocations: 110.6 kB / 295 MB, free: 3.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.01663, allocations: 168.2 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.01663, allocations: 1.094 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001997/0.01683, allocations: 140.6 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01685, allocations: 7.469 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.01685, allocations: 3.5 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01687, allocations: 12.41 kB / 295.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.01707, allocations: 53.38 kB / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.557e-06/0.01708, allocations: 7.938 kB / 295.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.958e-05/0.01717, allocations: 27.81 kB / 295.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.01718, allocations: 4 kB / 295.4 MB, free: 3.414 MB / 282.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 8.677e-05/0.01727, allocations: 124.6 kB / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.0173, allocations: 16.05 kB / 295.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.01744, allocations: 86.95 kB / 295.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01744, allocations: 4 kB / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01745, allocations: 4 kB / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01745, allocations: 0 / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.0179, allocations: 414.6 kB / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.0179, allocations: 8.281 kB / 296 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.01796, allocations: 23.92 kB / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.01799, allocations: 15.91 kB / 296.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01799, allocations: 0 / 296.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.018, allocations: 4 kB / 296.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.018, allocations: 4 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.01801, allocations: 4 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.0182, allocations: 308.1 kB / 296.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01822, allocations: 4 kB / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.01831, allocations: 8 kB / 296.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.01833, allocations: 19.86 kB / 296.4 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.01834, allocations: 4 kB / 296.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.01839, allocations: 53.39 kB / 296.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01839, allocations: 0 / 296.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.0187, allocations: 51.89 kB / 296.5 MB, free: 2.148 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.0001008/0.0188, allocations: 84.34 kB / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.01895, allocations: 89.05 kB / 296.7 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.01896, allocations: 4 kB / 296.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.01905, allocations: 94.94 kB / 296.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.01941, allocations: 215.8 kB / 297 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.02535, allocations: 475.9 kB / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.714e-05/0.02543, allocations: 87.97 kB / 297.6 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.643e-05/0.02552, allocations: 17.48 kB / 297.6 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.02562, allocations: 71.36 kB / 297.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of SimCode: time 1.143e-06/0.02562, allocations: 4 kB / 297.7 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of Templates: time 0.003325/0.02894, allocations: 1.238 MB / 298.9 MB, free: 15.7 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.706378323957324]