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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.1 MB / 223.1 MB, free: 8.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 94.3 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2092/0.2092, allocations: 38.01 MB / 355.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 51.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3457, allocations: 55.23 MB / 477.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003515/0.3493, allocations: 1.444 MB / 478.5 MB, free: 8.941 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005362/0.3499, allocations: 281.6 kB / 478.8 MB, free: 8.762 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.3499, allocations: 0.5938 kB / 478.8 MB, free: 8.762 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.3502, allocations: 17.89 kB / 478.8 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.3503, allocations: 27.23 kB / 478.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.3506, allocations: 57.2 kB / 478.9 MB, free: 8.711 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.3507, allocations: 53.95 kB / 479 MB, free: 8.688 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.3508, allocations: 12.59 kB / 479 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.351, allocations: 25.59 kB / 479 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.3511, allocations: 26.39 kB / 479 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3511, allocations: 2.5 kB / 479 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3512, allocations: 42.22 kB / 479.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.3513, allocations: 15.14 kB / 479.1 MB, free: 8.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.3514, allocations: 29.48 kB / 479.1 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.3516, allocations: 82 kB / 479.2 MB, free: 8.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3516, allocations: 0.5625 kB / 479.2 MB, free: 8.582 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3516, allocations: 5.219 kB / 479.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3516, allocations: 0 / 479.2 MB, free: 8.578 MB / 314.7 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.0004147/0.352, allocations: 382.8 kB / 479.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3521, allocations: 9.625 kB / 479.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.3521, allocations: 8.531 kB / 479.6 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.3523, allocations: 189.2 kB / 479.8 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3523, allocations: 5.375 kB / 479.8 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3524, allocations: 6.703 kB / 479.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3525, allocations: 68.25 kB / 479.8 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3525, allocations: 9.312 kB / 479.9 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3525, allocations: 0 / 479.9 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3526, allocations: 2.359 kB / 479.9 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.421e-05/0.3526, allocations: 17.05 kB / 479.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.353, allocations: 279.5 kB / 480.1 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.3531, allocations: 43.34 kB / 480.2 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.3531, allocations: 14.33 kB / 480.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.3531, allocations: 1.969 kB / 480.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3531, allocations: 31.22 kB / 480.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3532, allocations: 1.281 kB / 480.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000194/0.3534, allocations: 53.58 kB / 480.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3534, allocations: 78.23 kB / 480.4 MB, free: 7.391 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.3536, allocations: 148.4 kB / 480.5 MB, free: 7.273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.3536, allocations: 25.7 kB / 480.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.3537, allocations: 93.61 kB / 480.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.3537, allocations: 18.73 kB / 480.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.3537, allocations: 13.72 kB / 480.7 MB, free: 7.121 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.3538, allocations: 323.5 kB / 481 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.3538, allocations: 3.734 kB / 481 MB, free: 6.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.3538, allocations: 24.42 kB / 481 MB, free: 6.777 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.3539, allocations: 20.31 kB / 481 MB, free: 6.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3539, allocations: 0 / 481 MB, free: 6.766 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.888e-05/0.354, allocations: 51.8 kB / 481.1 MB, free: 6.727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.354, allocations: 5.188 kB / 481.1 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.354, allocations: 1.516 kB / 481.1 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.354, allocations: 0 / 481.1 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.3541, allocations: 9.891 kB / 481.1 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3541, allocations: 0 / 481.1 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.3542, allocations: 4.969 kB / 481.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3542, allocations: 9.812 kB / 481.1 MB, free: 6.711 MB / 314.7 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 0.0001007/0.3543, allocations: 124.3 kB / 481.2 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.3543, allocations: 3.656 kB / 481.2 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.3545, allocations: 61.67 kB / 481.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3545, allocations: 1.375 kB / 481.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3545, allocations: 0.7031 kB / 481.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3545, allocations: 0 / 481.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.3547, allocations: 182.4 kB / 481.5 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3547, allocations: 4.609 kB / 481.5 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.3547, allocations: 13.59 kB / 481.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3547, allocations: 0 / 481.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3547, allocations: 1.828 kB / 481.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3547, allocations: 0 / 481.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3547, allocations: 0 / 481.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.355, allocations: 0.7056 MB / 482.2 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.3551, allocations: 83.23 kB / 482.3 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3551, allocations: 5.312 kB / 482.3 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.3551, allocations: 9.922 kB / 482.3 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.3552, allocations: 1.984 kB / 482.3 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3552, allocations: 1.891 kB / 482.3 MB, free: 5.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.08e-05/0.3552, allocations: 110.4 kB / 482.4 MB, free: 5.398 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3552, allocations: 1.438 kB / 482.4 MB, free: 5.398 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.3556, allocations: 21.47 kB / 482.4 MB, free: 5.391 MB / 314.7 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.0007803/0.3564, allocations: 393.2 kB / 482.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.514e-05/0.3565, allocations: 18.06 kB / 482.8 MB, free: 5.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3565, allocations: 4 kB / 482.8 MB, free: 5.102 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.3566, allocations: 11.72 kB / 482.8 MB, free: 5.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3569, allocations: 15.03 kB / 482.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.3573, allocations: 265.7 kB / 483.1 MB, free: 4.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3574, allocations: 0.6941 MB / 483.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.372e-05/0.3575, allocations: 15.31 kB / 483.8 MB, free: 4.137 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.3576, allocations: 13.69 kB / 483.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3576, allocations: 0 / 483.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of Templates: time 0.004753/0.3623, allocations: 1.162 MB / 485 MB, free: 3.977 MB / 314.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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