Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001011/0.001011, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001163/0.001163, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.057/1.057, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1436/0.1436, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.562e-05, allocations: 4.281 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001521/0.001536, allocations: 1.599 MB / 349.3 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006713/0.002208, allocations: 1.048 MB / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.002257, allocations: 0 / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.002439, allocations: 27.8 kB / 350.3 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.002592, allocations: 51.64 kB / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.00273, allocations: 71.77 kB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.002837, allocations: 55.84 kB / 350.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.177e-05/0.002928, allocations: 4 kB / 350.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/0.002975, allocations: 39.83 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.003052, allocations: 19.92 kB / 350.6 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.003067, allocations: 4 kB / 350.6 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.88e-05/0.003136, allocations: 47.91 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.003172, allocations: 15.92 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.003195, allocations: 8 kB / 350.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003327, allocations: 83.72 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003329, allocations: 0 / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003329, allocations: 0 / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.003333, allocations: 0 / 350.7 MB, free: 6.688 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002808/0.003614, allocations: 412.1 kB / 351.1 MB, free: 6.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.003644, allocations: 8.031 kB / 351.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.003679, allocations: 8.938 kB / 351.2 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.003787, allocations: 140.4 kB / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.003794, allocations: 384 / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.003816, allocations: 8.375 kB / 351.3 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.003934, allocations: 96.03 kB / 351.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.003942, allocations: 192 / 351.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.00395, allocations: 4.125 kB / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.003955, allocations: 0 / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.003982, allocations: 15.92 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.004185, allocations: 259.9 kB / 351.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.004322, allocations: 47.05 kB / 351.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.00434, allocations: 7.688 kB / 351.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.004358, allocations: 7.938 kB / 351.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.004372, allocations: 37.33 kB / 351.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.004372, allocations: 0 / 351.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002664/0.004639, allocations: 101.8 kB / 351.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.004661, allocations: 81.09 kB / 351.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.004734, allocations: 185.9 kB / 352.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-06/0.004739, allocations: 25.7 kB / 352.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.004768, allocations: 138.9 kB / 352.3 MB, free: 4.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.004782, allocations: 19.83 kB / 352.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.00481, allocations: 31.36 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.004864, allocations: 496.1 kB / 352.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.004878, allocations: 4 kB / 352.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.004905, allocations: 57.25 kB / 352.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.004933, allocations: 23.69 kB / 352.9 MB, free: 4.281 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-07/0.004934, allocations: 0 / 352.9 MB, free: 4.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.962e-05/0.004993, allocations: 65.52 kB / 353 MB, free: 4.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.005004, allocations: 7.938 kB / 353 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.005009, allocations: 0 / 353 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.005022, allocations: 4.031 kB / 353 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.641e-05/0.005058, allocations: 8 kB / 353 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.005064, allocations: 7.984 kB / 353 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.005081, allocations: 4 kB / 353 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.005086, allocations: 4 kB / 353 MB, free: 4.176 MB / 282.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 (5): * Single equations (assignments): 5 * 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 3.918e-05/0.005125, allocations: 152.6 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.005141, allocations: 11.89 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-05/0.005231, allocations: 73.73 kB / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005233, allocations: 0 / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.005236, allocations: 0 / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.005239, allocations: 4 kB / 353.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.005399, allocations: 309.4 kB / 353.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.0054, allocations: 0 / 353.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.005422, allocations: 12.17 kB / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005423, allocations: 3.938 kB / 353.6 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.005432, allocations: 12 kB / 353.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005433, allocations: 0 / 353.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005434, allocations: 0 / 353.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.6e-05/0.0055, allocations: 203.8 kB / 353.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.005506, allocations: 11.95 kB / 353.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.005517, allocations: 0 / 353.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.758e-05/0.005544, allocations: 4 kB / 353.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.005578, allocations: 7.984 kB / 353.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.00558, allocations: 0 / 353.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.735e-05/0.005617, allocations: 149.8 kB / 353.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005617, allocations: 0 / 353.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.00578, allocations: 23.92 kB / 354 MB, free: 3.145 MB / 282.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 (5): * Single equations (assignments): 5 * 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.0008426/0.006623, allocations: 436.7 kB / 354.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.006717, allocations: 23.69 kB / 354.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006718, allocations: 0 / 354.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.985e-05/0.006738, allocations: 27.67 kB / 354.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.00694, allocations: 24.17 kB / 354.5 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.007178, allocations: 162 kB / 354.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.544e-05/0.007204, allocations: 59.34 kB / 354.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.181e-05/0.007236, allocations: 4 kB / 354.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.00726, allocations: 16.5 kB / 354.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.00726, allocations: 0 / 354.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of Templates: time 0.002622/0.009882, allocations: 1.429 MB / 356.1 MB, free: 1.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1601369900163263]