Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.001336/0.001336, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001597/0.001597, allocations: 211 kB / 24.48 MB, free: 3.938 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.427/1.427, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.1853/0.1853, allocations: 38.55 MB / 353.2 MB, free: 12.33 MB / 286.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.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 63.91 kB / 493.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3117, allocations: 62.46 MB / 0.5431 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003086/0.3148, allocations: 1.488 MB / 0.5446 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000907/0.3157, allocations: 487.8 kB / 0.5451 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.3157, allocations: 9.219 kB / 0.5451 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.3159, allocations: 16.52 kB / 0.5451 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.3162, allocations: 80.17 kB / 0.5452 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.3164, allocations: 80.06 kB / 0.5452 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.3166, allocations: 74.75 kB / 0.5453 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.3166, allocations: 2.125 kB / 0.5453 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.3167, allocations: 32.11 kB / 0.5453 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.3168, allocations: 29.17 kB / 0.5454 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3168, allocations: 2.969 kB / 0.5454 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.317, allocations: 93.41 kB / 0.5455 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.3171, allocations: 27.59 kB / 0.5455 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.3171, allocations: 20.45 kB / 0.5455 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3173, allocations: 132.2 kB / 0.5456 GB, free: 14.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3173, allocations: 0 / 0.5456 GB, free: 14.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3173, allocations: 0 / 0.5456 GB, free: 14.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3173, allocations: 0 / 0.5456 GB, free: 14.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004576/0.3178, allocations: 331.2 kB / 0.546 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3178, allocations: 12.39 kB / 0.546 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.3179, allocations: 8.578 kB / 0.546 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3181, allocations: 142.9 kB / 0.5461 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3181, allocations: 5.781 kB / 0.5461 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.3181, allocations: 2.594 kB / 0.5461 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3183, allocations: 89.61 kB / 0.5462 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3183, allocations: 0 / 0.5462 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3183, allocations: 5.047 kB / 0.5462 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3183, allocations: 0 / 0.5462 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.3183, allocations: 18.31 kB / 0.5462 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.3187, allocations: 227.2 kB / 0.5464 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.749e-05/0.3188, allocations: 38.94 kB / 0.5465 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.3188, allocations: 8.984 kB / 0.5465 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3188, allocations: 5.375 kB / 0.5465 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3189, allocations: 35.88 kB / 0.5465 GB, free: 13.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3189, allocations: 0 / 0.5465 GB, free: 13.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001726/0.319, allocations: 59.52 kB / 0.5466 GB, free: 13.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.3191, allocations: 81.09 kB / 0.5467 GB, free: 13.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.3192, allocations: 154.8 kB / 0.5468 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3193, allocations: 27.08 kB / 0.5468 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.3193, allocations: 98.83 kB / 0.5469 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.3193, allocations: 9.328 kB / 0.5469 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3194, allocations: 13.84 kB / 0.547 GB, free: 13.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3195, allocations: 329.5 kB / 0.5473 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.3195, allocations: 6.688 kB / 0.5473 GB, free: 12.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.3196, allocations: 54.22 kB / 0.5473 GB, free: 12.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.3196, allocations: 17.39 kB / 0.5473 GB, free: 12.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3196, allocations: 5.375 kB / 0.5473 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.583e-05/0.3197, allocations: 55.38 kB / 0.5474 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3197, allocations: 5.5 kB / 0.5474 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3197, allocations: 0 / 0.5474 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.3198, allocations: 1.375 kB / 0.5474 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/0.3198, allocations: 4.125 kB / 0.5474 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3198, allocations: 0 / 0.5474 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.3198, allocations: 13.33 kB / 0.5474 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3199, allocations: 1.375 kB / 0.5474 GB, free: 12.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.909e-05/0.3199, allocations: 123.2 kB / 0.5475 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.32, allocations: 6.609 kB / 0.5475 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3201, allocations: 61.73 kB / 0.5476 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3201, allocations: 0 / 0.5476 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3201, allocations: 0 / 0.5476 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3201, allocations: 1.438 kB / 0.5476 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3203, allocations: 124.3 kB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3203, allocations: 0 / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.3203, allocations: 13.2 kB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3203, allocations: 0 / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3203, allocations: 1.344 kB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3203, allocations: 0 / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3203, allocations: 0 / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.3204, allocations: 156.8 kB / 0.5479 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.3205, allocations: 6.109 kB / 0.5479 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3205, allocations: 1.125 kB / 0.5479 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.383e-05/0.3205, allocations: 1.062 kB / 0.5479 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.3205, allocations: 5.453 kB / 0.5479 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3206, allocations: 5.219 kB / 0.5479 GB, free: 12.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3207, allocations: 129 kB / 0.548 GB, free: 12.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3207, allocations: 0 / 0.548 GB, free: 12.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.321, allocations: 29.06 kB / 0.5481 GB, free: 12.15 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001633/0.3226, allocations: 475.9 kB / 0.5485 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.738e-05/0.3227, allocations: 22.08 kB / 0.5485 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3227, allocations: 5.094 kB / 0.5485 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.931e-05/0.3227, allocations: 9.594 kB / 0.5485 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3231, allocations: 28.62 kB / 0.5486 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.3234, allocations: 192.6 kB / 0.5488 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.726e-05/0.3235, allocations: 74.48 kB / 0.5488 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.3235, allocations: 21.38 kB / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3235, allocations: 0 / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Templates: time 0.003815/0.3274, allocations: 1.783 MB / 0.5506 GB, free: 10.7 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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: 7.7886088960804045]