Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001119/0.001119, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001682/0.001682, allocations: 169.2 kB / 24.84 MB, free: 9.297 MB / 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 0.9503/0.9503, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.1625/0.1625, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.823e-05, allocations: 4.281 kB / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001876/0.001895, allocations: 1.729 MB / 350.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008359/0.002731, allocations: 0.7803 MB / 351.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.002796, allocations: 4 kB / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.003084, allocations: 79.7 kB / 351.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.003257, allocations: 95.52 kB / 351.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.003418, allocations: 75.72 kB / 351.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.003552, allocations: 115.7 kB / 351.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.003632, allocations: 4.234 kB / 351.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.003707, allocations: 63.81 kB / 351.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.00379, allocations: 55.86 kB / 352 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.003805, allocations: 7.938 kB / 352 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.003867, allocations: 43.92 kB / 352 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.003909, allocations: 23.92 kB / 352.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.00394, allocations: 23.92 kB / 352.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.004077, allocations: 103.6 kB / 352.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-06/0.004078, allocations: 0 / 352.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004078, allocations: 3.938 kB / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.004082, allocations: 0 / 352.2 MB, free: 5.879 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.000331/0.004413, allocations: 455.8 kB / 352.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.004444, allocations: 8.031 kB / 352.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.004477, allocations: 12.89 kB / 352.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.004593, allocations: 148.4 kB / 352.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.004606, allocations: 384 / 352.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.004622, allocations: 12.38 kB / 352.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.368e-05/0.004706, allocations: 58.88 kB / 352.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.004714, allocations: 3.938 kB / 352.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.004722, allocations: 3.984 kB / 352.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.004726, allocations: 4 kB / 352.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.004749, allocations: 8 kB / 352.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.004932, allocations: 256.4 kB / 353.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.005004, allocations: 63.08 kB / 353.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.005022, allocations: 15.67 kB / 353.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.005033, allocations: 8 kB / 353.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.828e-05/0.005101, allocations: 64.98 kB / 353.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.005102, allocations: 4 kB / 353.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002707/0.005372, allocations: 133.5 kB / 353.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.005394, allocations: 51.41 kB / 353.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.973e-05/0.005484, allocations: 234.5 kB / 353.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.005495, allocations: 33.69 kB / 353.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.00553, allocations: 154.8 kB / 353.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.005553, allocations: 27.83 kB / 353.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.00558, allocations: 31.31 kB / 353.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.005627, allocations: 0.5001 MB / 354.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.005641, allocations: 11.98 kB / 354.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.005663, allocations: 31.3 kB / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.005703, allocations: 47.36 kB / 354.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.005704, allocations: 0 / 354.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.794e-05/0.005782, allocations: 89.53 kB / 354.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.005793, allocations: 11.98 kB / 354.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.005798, allocations: 0 / 354.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.005806, allocations: 32 / 354.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.005861, allocations: 20 kB / 354.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.005865, allocations: 4 kB / 354.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.00589, allocations: 0 / 354.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.005896, allocations: 7.984 kB / 354.7 MB, free: 3.188 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 4.919e-05/0.005945, allocations: 164.5 kB / 354.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.005959, allocations: 15.89 kB / 354.8 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.006065, allocations: 99.06 kB / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.006067, allocations: 4 kB / 354.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.006069, allocations: 0 / 354.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.006073, allocations: 4 kB / 354.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.006258, allocations: 365.5 kB / 355.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006259, allocations: 0 / 355.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.00628, allocations: 11.98 kB / 355.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006281, allocations: 0 / 355.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.006288, allocations: 8.375 kB / 355.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.006289, allocations: 0 / 355.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.00629, allocations: 4 kB / 355.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.093e-05/0.006381, allocations: 255.4 kB / 355.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.006396, allocations: 11.91 kB / 355.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.00641, allocations: 4.031 kB / 355.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.006448, allocations: 7.984 kB / 355.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.006471, allocations: 4 kB / 355.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.006481, allocations: 7.984 kB / 355.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.21e-05/0.006523, allocations: 167.1 kB / 355.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006523, allocations: 0 / 355.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.006683, allocations: 24 kB / 355.8 MB, free: 1.973 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.0007804/0.007464, allocations: 443.1 kB / 356.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.326e-05/0.007547, allocations: 55.58 kB / 356.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007548, allocations: 0 / 356.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.728e-05/0.007576, allocations: 31.61 kB / 356.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.007784, allocations: 39.81 kB / 356.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.008076, allocations: 217.1 kB / 356.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.008112, allocations: 79.25 kB / 356.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.059e-05/0.008143, allocations: 8.5 kB / 356.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.008204, allocations: 94.31 kB / 356.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.008204, allocations: 0 / 356.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of Templates: time 0.003756/0.01196, allocations: 2.038 MB / 358.8 MB, free: 15.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.1471495991572738]