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.001768/0.001768, allocations: 83.22 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001394/0.001394, allocations: 168.5 kB / 23.96 MB, free: 4.148 MB / 14.72 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.368/1.368, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1683/0.1683, allocations: 29.44 MB / 290.1 MB, free: 3.285 MB / 270.1 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.082e-06/1.082e-06, allocations: 0 / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.775e-05, allocations: 6.281 kB / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004467/0.004485, allocations: 3.407 MB / 434.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.006574, allocations: 1.442 MB / 435.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.006668, allocations: 15.88 kB / 435.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.007451, allocations: 247 kB / 435.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005574/0.008008, allocations: 290.5 kB / 436.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.008287, allocations: 127.5 kB / 436.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.008682, allocations: 342.9 kB / 436.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.008933, allocations: 114 kB / 436.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.009261, allocations: 207.4 kB / 436.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.009505, allocations: 143.6 kB / 437 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.009532, allocations: 12 kB / 437 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.009966, allocations: 295 kB / 437.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.01008, allocations: 103.7 kB / 437.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.01019, allocations: 75.83 kB / 437.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.01067, allocations: 362.9 kB / 437.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.01068, allocations: 3.984 kB / 437.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01068, allocations: 0 / 437.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.01068, allocations: 0 / 437.8 MB, free: 10.79 MB / 366.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.0006308/0.01131, allocations: 444.5 kB / 438.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.01134, allocations: 15.97 kB / 438.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008448/0.01219, allocations: 108.7 kB / 438.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.0125, allocations: 213.9 kB / 438.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.01252, allocations: 16.31 kB / 438.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.01255, allocations: 16.36 kB / 438.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.01305, allocations: 327.3 kB / 439 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.01307, allocations: 3.938 kB / 439 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.01309, allocations: 8 kB / 439 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.01313, allocations: 27.94 kB / 439 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.01358, allocations: 295.7 kB / 439.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.01515, allocations: 1.155 MB / 440.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.01543, allocations: 121.2 kB / 440.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.0155, allocations: 41.77 kB / 440.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.01552, allocations: 4 kB / 440.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.01555, allocations: 34.69 kB / 440.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.01555, allocations: 0 / 440.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002924/0.01584, allocations: 141.4 kB / 440.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.0159, allocations: 81.11 kB / 440.9 MB, free: 7.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.01608, allocations: 194.2 kB / 441.1 MB, free: 7.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.01613, allocations: 33.7 kB / 441.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.01625, allocations: 179.9 kB / 441.3 MB, free: 7.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.01628, allocations: 31.7 kB / 441.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.01634, allocations: 49.83 kB / 441.3 MB, free: 7.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.01648, allocations: 322.8 kB / 441.7 MB, free: 6.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.01656, allocations: 47.77 kB / 441.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.01669, allocations: 131.9 kB / 441.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.01693, allocations: 205 kB / 442 MB, free: 6.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01693, allocations: 0 / 442 MB, free: 6.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003018/0.01723, allocations: 205.3 kB / 442.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.01725, allocations: 11.94 kB / 442.2 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01725, allocations: 4 kB / 442.2 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.01727, allocations: 4 kB / 442.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.01743, allocations: 47.91 kB / 442.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.01744, allocations: 4 kB / 442.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.01755, allocations: 23.84 kB / 442.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01756, allocations: 8 kB / 442.3 MB, free: 5.957 MB / 366.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.0001372/0.0177, allocations: 162 kB / 442.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.01774, allocations: 15.91 kB / 442.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.01795, allocations: 122.9 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.01795, allocations: 8.031 kB / 442.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01796, allocations: 3.984 kB / 442.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01796, allocations: 0 / 442.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.01861, allocations: 0.4977 MB / 443.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.01862, allocations: 4 kB / 443.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.0187, allocations: 23.92 kB / 443.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.0187, allocations: 4 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01871, allocations: 4 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.01872, allocations: 4 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01872, allocations: 0 / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.019, allocations: 275.9 kB / 443.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.01903, allocations: 20.03 kB / 443.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.01906, allocations: 12.05 kB / 443.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.01917, allocations: 8 kB / 443.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.0192, allocations: 19.86 kB / 443.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01921, allocations: 8 kB / 443.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.01932, allocations: 139.4 kB / 443.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01932, allocations: 0 / 443.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.01965, allocations: 59.78 kB / 443.7 MB, free: 4.453 MB / 366.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 9.512e-05/0.01974, allocations: 99.19 kB / 443.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.01995, allocations: 115.7 kB / 443.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.01995, allocations: 0 / 443.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.02003, allocations: 49.34 kB / 444 MB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.0204, allocations: 27.98 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006539/0.02106, allocations: 438.8 kB / 444.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.0212, allocations: 143.9 kB / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.727e-05/0.02129, allocations: 33.45 kB / 444.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.02133, allocations: 16.5 kB / 444.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02133, allocations: 0 / 444.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of Templates: time 0.003927/0.02526, allocations: 1.068 MB / 445.7 MB, free: 2.414 MB / 366.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: 4.44138765335083]