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.0007618/0.0007618, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.00184, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007353/0.0007353, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001808, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9422/0.9422, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08175/1.024, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.1179/0.1179, allocations: 29.44 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1338/0.2517, allocations: 9.528 MB / 283 MB, free: 12.84 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.513e-06/1.513e-06, allocations: 0 / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.807e-06/1.032e-05, allocations: 2.969 kB / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.006656/0.006666, allocations: 3.56 MB / 287.8 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.008176, allocations: 1.249 MB / 289 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.008278, allocations: 9.188 kB / 289 MB, free: 8.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.01177, allocations: 252.4 kB / 289.3 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.01225, allocations: 291.6 kB / 289.6 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.0125, allocations: 134.1 kB / 289.7 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.01285, allocations: 366.1 kB / 290.1 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.01305, allocations: 112.6 kB / 290.2 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.01332, allocations: 221.9 kB / 290.4 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.01353, allocations: 140.5 kB / 290.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.01355, allocations: 14 kB / 290.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.01395, allocations: 286.3 kB / 290.8 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.01405, allocations: 108.3 kB / 290.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.01413, allocations: 62.72 kB / 291 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.0145, allocations: 291 kB / 291.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.01451, allocations: 0 / 291.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01451, allocations: 1.281 kB / 291.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.01453, allocations: 0 / 291.3 MB, free: 6.816 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.00369/0.01822, allocations: 484.2 kB / 291.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.01825, allocations: 9.625 kB / 291.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.01901, allocations: 219.3 kB / 292 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.01927, allocations: 201.9 kB / 292.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.01929, allocations: 12.5 kB / 292.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.01932, allocations: 23.06 kB / 292.2 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.0196, allocations: 210.8 kB / 292.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.01961, allocations: 3.938 kB / 292.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.01963, allocations: 6.656 kB / 292.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.01966, allocations: 15.2 kB / 292.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.01985, allocations: 109.8 kB / 292.5 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.02091, allocations: 0.9703 MB / 293.5 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.02111, allocations: 133.2 kB / 293.6 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/0.02115, allocations: 26.56 kB / 293.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.02117, allocations: 6.266 kB / 293.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.02119, allocations: 33.56 kB / 293.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.02119, allocations: 0 / 293.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001639/0.02136, allocations: 79.08 kB / 293.8 MB, free: 4.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.0214, allocations: 82.48 kB / 293.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.02164, allocations: 183.7 kB / 294 MB, free: 4.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.02166, allocations: 29.7 kB / 294.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.02173, allocations: 166 kB / 294.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.02176, allocations: 37.84 kB / 294.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.02181, allocations: 46.28 kB / 294.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.0219, allocations: 332.8 kB / 294.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.02192, allocations: 9.219 kB / 294.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.022, allocations: 111.1 kB / 294.8 MB, free: 3.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.02213, allocations: 152 kB / 294.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02213, allocations: 0 / 294.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001859/0.02232, allocations: 143.2 kB / 295 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.02233, allocations: 6.531 kB / 295.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.02234, allocations: 8.438 kB / 295.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.02235, allocations: 8.312 kB / 295.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.02257, allocations: 50.06 kB / 295.1 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.02258, allocations: 9.5 kB / 295.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.597e-05/0.02267, allocations: 26.58 kB / 295.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.02268, allocations: 7.688 kB / 295.2 MB, free: 3.527 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.211e-05/0.02277, allocations: 132.9 kB / 295.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.0228, allocations: 13.42 kB / 295.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.02293, allocations: 86.23 kB / 295.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02293, allocations: 0 / 295.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.02293, allocations: 4 kB / 295.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.02294, allocations: 0 / 295.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.02338, allocations: 434.3 kB / 295.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.02339, allocations: 7.984 kB / 295.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.02345, allocations: 16 kB / 295.8 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.02348, allocations: 15.91 kB / 295.9 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.02349, allocations: 11.92 kB / 295.9 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.0235, allocations: 8 kB / 295.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.0235, allocations: 0 / 295.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.0235, allocations: 7.938 kB / 295.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.0237, allocations: 311.2 kB / 296.2 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.02372, allocations: 4 kB / 296.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.02381, allocations: 8 kB / 296.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.02384, allocations: 11.92 kB / 296.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.02385, allocations: 4 kB / 296.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.0239, allocations: 45.41 kB / 296.3 MB, free: 2.309 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0239, allocations: 0 / 296.3 MB, free: 2.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003022/0.0242, allocations: 55.89 kB / 296.3 MB, free: 2.254 MB / 282.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 7.956e-05/0.02428, allocations: 88.34 kB / 296.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.02442, allocations: 88.55 kB / 296.5 MB, free: 2.066 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.02442, allocations: 7.938 kB / 296.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.02447, allocations: 30.98 kB / 296.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.02477, allocations: 57.72 kB / 296.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007003/0.03177, allocations: 489.2 kB / 297.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.426e-05/0.03184, allocations: 91.95 kB / 297.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.211e-05/0.03192, allocations: 17.48 kB / 297.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.032, allocations: 67.38 kB / 297.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.032, allocations: 0 / 297.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of Templates: time 0.004135/0.03614, allocations: 1.293 MB / 298.5 MB, free: 15.98 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7288111560046673]