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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007216/0.0007217, allocations: 95.61 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007742/0.0007742, allocations: 183.4 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1557/0.1557, allocations: 38.08 MB / 330.8 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002774, allocations: 8.844 kB / 400.7 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08467/0.08496, allocations: 59.16 MB / 459.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001605/0.0866, allocations: 1.092 MB / 461 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005532/0.08718, allocations: 359.5 kB / 461.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.08723, allocations: 0 / 461.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.08741, allocations: 23.92 kB / 461.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.08754, allocations: 31.91 kB / 461.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.08775, allocations: 63.84 kB / 461.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.08786, allocations: 63.78 kB / 461.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.08791, allocations: 4 kB / 461.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.08804, allocations: 27.91 kB / 461.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.08809, allocations: 19.92 kB / 461.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.08812, allocations: 4 kB / 461.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.08821, allocations: 39.92 kB / 461.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.08826, allocations: 23.91 kB / 461.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.08831, allocations: 49.5 kB / 461.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.08845, allocations: 87.72 kB / 461.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.08846, allocations: 0 / 461.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.08847, allocations: 4 kB / 461.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.08848, allocations: 0 / 461.8 MB, free: 5.168 MB / 334.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.0003151/0.0888, allocations: 367.6 kB / 462.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.08884, allocations: 8.031 kB / 462.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.08887, allocations: 8.844 kB / 462.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.08904, allocations: 188.2 kB / 462.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.08906, allocations: 8.312 kB / 462.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.08907, allocations: 4.375 kB / 462.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.89e-05/0.08918, allocations: 67.53 kB / 462.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.08919, allocations: 3.984 kB / 462.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.08921, allocations: 0 / 462.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.08921, allocations: 0 / 462.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.08927, allocations: 16 kB / 462.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.08956, allocations: 284.7 kB / 462.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.08965, allocations: 42.56 kB / 462.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.08968, allocations: 12.92 kB / 462.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.0897, allocations: 0 / 462.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.08973, allocations: 30.56 kB / 462.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.08973, allocations: 0 / 462.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001459/0.08988, allocations: 61.53 kB / 462.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.08993, allocations: 81.05 kB / 462.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.09006, allocations: 149.8 kB / 463.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.09008, allocations: 25.7 kB / 463.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.09013, allocations: 88.14 kB / 463.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.09015, allocations: 11.84 kB / 463.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.09017, allocations: 9.719 kB / 463.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.09027, allocations: 326.8 kB / 463.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.09029, allocations: 4 kB / 463.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.09032, allocations: 21.89 kB / 463.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.09036, allocations: 24.94 kB / 463.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.09036, allocations: 0 / 463.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.968e-05/0.09044, allocations: 57.53 kB / 463.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.09046, allocations: 4 kB / 463.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.09046, allocations: 0 / 463.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.09048, allocations: 0 / 463.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.139e-05/0.09052, allocations: 4 kB / 463.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.09054, allocations: 7.984 kB / 463.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.09056, allocations: 0 / 463.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.09057, allocations: 32 / 463.6 MB, free: 3.047 MB / 334.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 7.256e-05/0.09065, allocations: 125.7 kB / 463.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.09068, allocations: 7.906 kB / 463.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.09079, allocations: 61.52 kB / 463.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.0908, allocations: 0 / 463.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.0908, allocations: 0 / 463.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.09081, allocations: 0 / 463.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.09096, allocations: 173.6 kB / 464 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.09097, allocations: 0 / 464 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.09101, allocations: 4 kB / 464 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.09102, allocations: 4 kB / 464 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.09103, allocations: 7.984 kB / 464 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.09104, allocations: 7.984 kB / 464 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.09105, allocations: 4 kB / 464 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.09116, allocations: 147.3 kB / 464.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.09121, allocations: 89.02 kB / 464.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.09122, allocations: 0 / 464.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.09128, allocations: 7.984 kB / 464.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.09129, allocations: 7.938 kB / 464.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.0913, allocations: 0 / 464.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.056e-05/0.09138, allocations: 110.6 kB / 464.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09139, allocations: 0 / 464.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.09162, allocations: 23.98 kB / 464.4 MB, free: 2.176 MB / 334.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.0007362/0.09237, allocations: 399.2 kB / 464.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.837e-05/0.09244, allocations: 12 kB / 464.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.09245, allocations: 4 kB / 464.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/0.09248, allocations: 19.92 kB / 464.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.09275, allocations: 8 kB / 464.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.09303, allocations: 162.7 kB / 465 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.09328, allocations: 0.6887 MB / 465.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.09334, allocations: 15.98 kB / 465.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.09337, allocations: 15.44 kB / 465.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.09338, allocations: 0 / 465.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of Templates: time 0.002947/0.09633, allocations: 1.151 MB / 466.9 MB, free: 15.81 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches