Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 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(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009741/0.000974, allocations: 82.17 kB / 261.7 MB, free: 1.633 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2153/0.2153, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.981e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1271, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4371/0.5642, allocations: 86.76 MB / 0.5507 GB, free: 8.184 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5646, allocations: 73.06 kB / 0.5507 GB, free: 8.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01324/0.5778, allocations: 5.124 MB / 0.5557 GB, free: 4.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.5779, allocations: 0 / 0.5557 GB, free: 4.078 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.5779, allocations: 3.938 kB / 0.5557 GB, free: 4.074 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004438/0.5784, allocations: 385.3 kB / 0.5561 GB, free: 3.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5784, allocations: 16.03 kB / 0.5561 GB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.5785, allocations: 7.906 kB / 0.5561 GB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.5788, allocations: 221.4 kB / 0.5563 GB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5788, allocations: 0 / 0.5563 GB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.5788, allocations: 0 / 0.5563 GB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.105e-05/0.5789, allocations: 11.5 kB / 0.5563 GB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.291e-05/0.579, allocations: 52.61 kB / 0.5564 GB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.579, allocations: 0 / 0.5564 GB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5791, allocations: 0 / 0.5564 GB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5791, allocations: 0 / 0.5564 GB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.5793, allocations: 161.9 kB / 0.5566 GB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/0.5794, allocations: 53.19 kB / 0.5566 GB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.5794, allocations: 15.86 kB / 0.5566 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.5794, allocations: 0 / 0.5566 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.5796, allocations: 62.67 kB / 0.5567 GB, free: 3.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.5796, allocations: 4 kB / 0.5567 GB, free: 3.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000215/0.5798, allocations: 71.97 kB / 0.5568 GB, free: 2.941 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.5798, allocations: 51.41 kB / 0.5568 GB, free: 2.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.58, allocations: 179.4 kB / 0.557 GB, free: 2.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.58, allocations: 25.7 kB / 0.557 GB, free: 2.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.58, allocations: 94.64 kB / 0.5571 GB, free: 2.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.5801, allocations: 19.55 kB / 0.5571 GB, free: 2.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.5801, allocations: 3.938 kB / 0.5571 GB, free: 2.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.5802, allocations: 326.3 kB / 0.5574 GB, free: 2.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.5802, allocations: 15.38 kB / 0.5574 GB, free: 2.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/0.5802, allocations: 21.28 kB / 0.5575 GB, free: 2.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.5803, allocations: 15.48 kB / 0.5575 GB, free: 2.219 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5803, allocations: 0 / 0.5575 GB, free: 2.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001018/0.5804, allocations: 84.61 kB / 0.5576 GB, free: 2.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.5804, allocations: 4 kB / 0.5576 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5804, allocations: 0 / 0.5576 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.5804, allocations: 8.031 kB / 0.5576 GB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.5805, allocations: 8 kB / 0.5576 GB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.5805, allocations: 3.984 kB / 0.5576 GB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.5806, allocations: 4 kB / 0.5576 GB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.5806, allocations: 0 / 0.5576 GB, free: 2.113 MB / 362.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/0.5807, allocations: 105 kB / 0.5577 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.5807, allocations: 19.27 kB / 0.5577 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.5809, allocations: 88.83 kB / 0.5578 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5809, allocations: 3.984 kB / 0.5578 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5809, allocations: 7.938 kB / 0.5578 GB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.5809, allocations: 7.984 kB / 0.5578 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.836e-05/0.581, allocations: 160.6 kB / 0.558 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.581, allocations: 0 / 0.558 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.5811, allocations: 8 kB / 0.558 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5811, allocations: 0 / 0.558 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.5811, allocations: 7.938 kB / 0.558 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5811, allocations: 0 / 0.558 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5811, allocations: 0 / 0.558 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.5812, allocations: 107.9 kB / 0.5581 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.5813, allocations: 92.91 kB / 0.5582 GB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.5813, allocations: 0 / 0.5582 GB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.176e-05/0.5814, allocations: 7.953 kB / 0.5582 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.5814, allocations: 7.922 kB / 0.5582 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.5814, allocations: 8.125 kB / 0.5582 GB, free: 1.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.531e-05/0.5815, allocations: 132.9 kB / 0.5583 GB, free: 1.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5815, allocations: 0 / 0.5583 GB, free: 1.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.5818, allocations: 23.88 kB / 0.5583 GB, free: 1.32 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000806/0.5826, allocations: 345.3 kB / 0.5587 GB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.5827, allocations: 42.98 kB / 0.5587 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5827, allocations: 0 / 0.5587 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.5827, allocations: 18.88 kB / 0.5587 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.583, allocations: 23.92 kB / 0.5587 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.5833, allocations: 134.8 kB / 0.5589 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.5835, allocations: 0.7073 MB / 0.5596 GB, free: 92 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.004e-05/0.5836, allocations: 16.41 kB / 0.5596 GB, free: 76 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.5836, allocations: 15.44 kB / 0.5596 GB, free: 60 kB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5836, allocations: 0 / 0.5596 GB, free: 60 kB / 362.7 MB Notification: Performance of Templates: time 0.004333/0.5879, allocations: 1.42 MB / 0.561 GB, free: 14.66 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time