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.0007617/0.0007617, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.002936/0.002936, allocations: 160 kB / 24.7 MB, free: 9.426 MB / 18.57 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.8319/0.8319, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 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.2096/0.2096, allocations: 29.41 MB / 290.9 MB, free: 2.418 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 431.4 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.812e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001917/0.001935, allocations: 1.48 MB / 432.9 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000543/0.002478, allocations: 494.5 kB / 433.4 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.002523, allocations: 0 / 433.4 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.002716, allocations: 27.78 kB / 433.4 MB, free: 11.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.00292, allocations: 75.62 kB / 433.5 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.003069, allocations: 86.64 kB / 433.6 MB, free: 10.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.003184, allocations: 63.83 kB / 433.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.00322, allocations: 8.188 kB / 433.7 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.003331, allocations: 51.77 kB / 433.7 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.003389, allocations: 19.91 kB / 433.7 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.003401, allocations: 8 kB / 433.7 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.003508, allocations: 87.88 kB / 433.8 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.003557, allocations: 19.92 kB / 433.9 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.003581, allocations: 11.94 kB / 433.9 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.003767, allocations: 151.5 kB / 434 MB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003769, allocations: 0 / 434 MB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00377, allocations: 0 / 434 MB, free: 10.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.003774, allocations: 0 / 434 MB, free: 10.53 MB / 410.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.0003372/0.004111, allocations: 325.6 kB / 434.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.004142, allocations: 11.98 kB / 434.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.004175, allocations: 12.84 kB / 434.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.004321, allocations: 152.3 kB / 434.5 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.004329, allocations: 384 / 434.5 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.004337, allocations: 4.375 kB / 434.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.004439, allocations: 89.66 kB / 434.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004446, allocations: 192 / 434.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.004458, allocations: 7.938 kB / 434.6 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004463, allocations: 4 kB / 434.6 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.811e-05/0.004501, allocations: 19.92 kB / 434.6 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.004741, allocations: 224.6 kB / 434.8 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.991e-05/0.004811, allocations: 38.5 kB / 434.9 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.004828, allocations: 16.92 kB / 434.9 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.004848, allocations: 3.938 kB / 434.9 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.004865, allocations: 30.56 kB / 434.9 MB, free: 9.484 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.004866, allocations: 0 / 434.9 MB, free: 9.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001302/0.004996, allocations: 57.67 kB / 435 MB, free: 9.422 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.005031, allocations: 77.11 kB / 435.1 MB, free: 9.328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.005148, allocations: 161.7 kB / 435.2 MB, free: 9.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.005158, allocations: 25.7 kB / 435.2 MB, free: 9.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.005197, allocations: 96.12 kB / 435.3 MB, free: 9.031 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.005211, allocations: 7.891 kB / 435.4 MB, free: 9.023 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.005233, allocations: 21.72 kB / 435.4 MB, free: 8.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.005309, allocations: 322.8 kB / 435.7 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.00532, allocations: 3.938 kB / 435.7 MB, free: 8.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.005345, allocations: 51.41 kB / 435.7 MB, free: 8.605 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.00537, allocations: 20.8 kB / 435.8 MB, free: 8.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.005373, allocations: 3.938 kB / 435.8 MB, free: 8.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.01e-05/0.005423, allocations: 53.64 kB / 435.8 MB, free: 8.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.005434, allocations: 4 kB / 435.8 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.005437, allocations: 0 / 435.8 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.005449, allocations: 3.938 kB / 435.8 MB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.005496, allocations: 7.984 kB / 435.8 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.005501, allocations: 11.97 kB / 435.8 MB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.005516, allocations: 0 / 435.8 MB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.00552, allocations: 0 / 435.8 MB, free: 8.492 MB / 410.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 5.922e-05/0.005579, allocations: 117.8 kB / 436 MB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.005594, allocations: 7.953 kB / 436 MB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.536e-05/0.005679, allocations: 66.3 kB / 436 MB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.00568, allocations: 48 / 436 MB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.005685, allocations: 3.984 kB / 436 MB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005687, allocations: 0 / 436 MB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.711e-05/0.005774, allocations: 117.3 kB / 436.2 MB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.005776, allocations: 7.938 kB / 436.2 MB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.00579, allocations: 8 kB / 436.2 MB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.005792, allocations: 0 / 436.2 MB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.005798, allocations: 4 kB / 436.2 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.005799, allocations: 0 / 436.2 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.0058, allocations: 0 / 436.2 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.948e-05/0.005869, allocations: 147.4 kB / 436.3 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.00588, allocations: 7.938 kB / 436.3 MB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.005891, allocations: 3.984 kB / 436.3 MB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.818e-05/0.005919, allocations: 4 kB / 436.3 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.005933, allocations: 4 kB / 436.3 MB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.005934, allocations: 4 kB / 436.3 MB, free: 7.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.16e-05/0.005996, allocations: 126.4 kB / 436.5 MB, free: 7.809 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005996, allocations: 0 / 436.5 MB, free: 7.809 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.006164, allocations: 39.81 kB / 436.5 MB, free: 7.77 MB / 410.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.0006681/0.006832, allocations: 475.3 kB / 437 MB, free: 7.488 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.006904, allocations: 23.92 kB / 437 MB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006906, allocations: 0 / 437 MB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.376e-06/0.006914, allocations: 4 kB / 437 MB, free: 7.461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.007118, allocations: 27.38 kB / 437 MB, free: 7.438 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.007367, allocations: 182.5 kB / 437.2 MB, free: 7.227 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.007419, allocations: 83.56 kB / 437.3 MB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.007452, allocations: 16.44 kB / 437.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007452, allocations: 4 kB / 437.3 MB, free: 7.105 MB / 410.7 MB Notification: Performance of Templates: time 0.002451/0.009903, allocations: 1.811 MB / 439.1 MB, free: 5.297 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins/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: 4.568241259083152]