Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007734/0.0007734, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001858, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000985/0.000985, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002221, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9313/0.9313, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1841/1.115, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1592/0.1592, allocations: 32.79 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02385/0.183, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.968e-05, allocations: 5.406 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003115/0.003144, allocations: 1.78 MB / 287.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.004546, allocations: 0.8766 MB / 288.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.004632, allocations: 4 kB / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.004886, allocations: 39.69 kB / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.005086, allocations: 59.64 kB / 288.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.005399, allocations: 115.5 kB / 288.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.005587, allocations: 91.66 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.005691, allocations: 16.14 kB / 288.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.00584, allocations: 67.84 kB / 289 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.005932, allocations: 27.91 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.005953, allocations: 4 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.006059, allocations: 47.86 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.006114, allocations: 23.92 kB / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.00615, allocations: 15.94 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.006351, allocations: 87.67 kB / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.006364, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006365, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.006376, allocations: 0 / 289.2 MB, free: 5.047 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004819/0.006858, allocations: 335.8 kB / 289.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.006894, allocations: 8.031 kB / 289.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.006931, allocations: 8.938 kB / 289.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.00712, allocations: 148.6 kB / 289.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.007137, allocations: 4.375 kB / 289.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.00716, allocations: 8.359 kB / 289.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.007293, allocations: 65.75 kB / 289.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.007304, allocations: 3.938 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.007315, allocations: 4 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.007322, allocations: 4 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.007352, allocations: 7.938 kB / 289.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.007603, allocations: 162 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.007719, allocations: 89.34 kB / 290 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.007745, allocations: 12.86 kB / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.007759, allocations: 3.984 kB / 290 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.007882, allocations: 70.09 kB / 290.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.007884, allocations: 0 / 290.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004115/0.008295, allocations: 113.5 kB / 290.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.008331, allocations: 55.41 kB / 290.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.008471, allocations: 164.3 kB / 290.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.008491, allocations: 25.7 kB / 290.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.008537, allocations: 88.12 kB / 290.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.008572, allocations: 35.77 kB / 290.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.008612, allocations: 21.72 kB / 290.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.008717, allocations: 326.8 kB / 290.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.008742, allocations: 14.81 kB / 290.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.008769, allocations: 21.66 kB / 291 MB, free: 3.117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.008827, allocations: 48.44 kB / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.008828, allocations: 0 / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001046/0.008933, allocations: 72.5 kB / 291.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.00895, allocations: 4 kB / 291.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.008956, allocations: 7.969 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.008972, allocations: 0 / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.009063, allocations: 20 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.00907, allocations: 3.984 kB / 291.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.00911, allocations: 4 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.009116, allocations: 0 / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.32e-05/0.009199, allocations: 116.7 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.00922, allocations: 15.92 kB / 291.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.009355, allocations: 74.39 kB / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.009357, allocations: 0 / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.009359, allocations: 4 kB / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.009364, allocations: 384 / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.009642, allocations: 299.4 kB / 291.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.009646, allocations: 4 kB / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.009691, allocations: 8 kB / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.009705, allocations: 7.953 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.009709, allocations: 4 kB / 291.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.009717, allocations: 4 kB / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.009719, allocations: 0 / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.009723, allocations: 7.922 kB / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.009852, allocations: 211.1 kB / 291.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.00987, allocations: 4 kB / 291.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.009933, allocations: 4 kB / 291.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.009968, allocations: 11.92 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.009984, allocations: 4 kB / 291.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.093e-05/0.01004, allocations: 49.39 kB / 291.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 291.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00021/0.01025, allocations: 23.94 kB / 291.9 MB, free: 2.043 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001545/0.0118, allocations: 0.6441 MB / 292.6 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.655e-05/0.0119, allocations: 48.81 kB / 292.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.0119, allocations: 0 / 292.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.01194, allocations: 32.92 kB / 292.7 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.0122, allocations: 184 kB / 292.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.01273, allocations: 215.5 kB / 293.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.027e-05/0.01277, allocations: 71.34 kB / 293.1 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.01281, allocations: 16.48 kB / 293.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.01288, allocations: 67.36 kB / 293.2 MB, free: 1 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01288, allocations: 0 / 293.2 MB, free: 1 MB / 282.7 MB Notification: Performance of Templates: time 0.003532/0.01641, allocations: 2.017 MB / 295.2 MB, free: 15.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.930463067255914]