Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009988/0.0009988, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009846/0.0009842, allocations: 89.3 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3671/0.3671, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4156, allocations: 61.91 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.5605, allocations: 91 MB / 0.5984 GB, free: 4.109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.5609, allocations: 75.94 kB / 0.5985 GB, free: 4.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01448/0.5754, allocations: 5.009 MB / 0.6034 GB, free: 15.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.5754, allocations: 0 / 0.6034 GB, free: 15.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.5755, allocations: 7.938 kB / 0.6034 GB, free: 15.02 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009445/0.5764, allocations: 0.5638 MB / 0.604 GB, free: 14.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5765, allocations: 8.562 kB / 0.604 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.5766, allocations: 23.72 kB / 0.604 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.5769, allocations: 243.7 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.577, allocations: 11.98 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.577, allocations: 11.95 kB / 0.6043 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.5775, allocations: 169.9 kB / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5775, allocations: 0 / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.5775, allocations: 4 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5775, allocations: 0 / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.578, allocations: 138.1 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009226/0.5789, allocations: 0.5945 MB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.5796, allocations: 194.5 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.5797, allocations: 0 / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003941/0.5801, allocations: 147.3 kB / 0.6055 GB, free: 12.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.5801, allocations: 0 / 0.6055 GB, free: 12.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008679/0.581, allocations: 305.3 kB / 0.6057 GB, free: 12.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.581, allocations: 51.41 kB / 0.6058 GB, free: 12.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.5812, allocations: 206.3 kB / 0.606 GB, free: 12.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.5813, allocations: 33.7 kB / 0.606 GB, free: 12.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.5813, allocations: 124.4 kB / 0.6061 GB, free: 12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.5814, allocations: 35.53 kB / 0.6062 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.5814, allocations: 4 kB / 0.6062 GB, free: 11.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5815, allocations: 338.8 kB / 0.6065 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.5818, allocations: 75.94 kB / 0.6066 GB, free: 11.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.582, allocations: 118.6 kB / 0.6067 GB, free: 11.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.5823, allocations: 117.6 kB / 0.6068 GB, free: 11.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5823, allocations: 0 / 0.6068 GB, free: 11.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006073/0.5829, allocations: 279.9 kB / 0.6071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.583, allocations: 37.7 kB / 0.6071 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.583, allocations: 128 / 0.6071 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.583, allocations: 7.938 kB / 0.6071 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.5832, allocations: 43.91 kB / 0.6072 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5833, allocations: 4 kB / 0.6072 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.5834, allocations: 35.83 kB / 0.6072 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.5835, allocations: 12 kB / 0.6072 GB, free: 10.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001359/0.5836, allocations: 140 kB / 0.6073 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.5836, allocations: 15.81 kB / 0.6074 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/0.5843, allocations: 240.3 kB / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.5843, allocations: 4 kB / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5843, allocations: 0 / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5843, allocations: 0 / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.5845, allocations: 237.5 kB / 0.6078 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5845, allocations: 4 kB / 0.6078 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.5847, allocations: 35.95 kB / 0.6079 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5847, allocations: 0 / 0.6079 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.5847, allocations: 0 / 0.6079 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.5847, allocations: 4 kB / 0.6079 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5848, allocations: 3.938 kB / 0.6079 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009219/0.5857, allocations: 355 kB / 0.6082 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.5858, allocations: 96.95 kB / 0.6083 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.5858, allocations: 0 / 0.6083 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.586, allocations: 39.97 kB / 0.6083 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.5861, allocations: 23.97 kB / 0.6084 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.5861, allocations: 7.984 kB / 0.6084 GB, free: 9.586 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.5863, allocations: 156.7 kB / 0.6085 GB, free: 9.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5863, allocations: 0 / 0.6085 GB, free: 9.434 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002742/0.5865, allocations: 51.92 kB / 0.6086 GB, free: 9.383 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001014/0.5876, allocations: 429 kB / 0.609 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006073/0.5882, allocations: 247.3 kB / 0.6092 GB, free: 8.863 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5882, allocations: 0 / 0.6092 GB, free: 8.863 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.5885, allocations: 99.94 kB / 0.6093 GB, free: 8.766 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.5888, allocations: 39.92 kB / 0.6093 GB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.5895, allocations: 358 kB / 0.6097 GB, free: 8.348 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.5897, allocations: 0.7322 MB / 0.6104 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.848e-05/0.5898, allocations: 21.53 kB / 0.6104 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.5899, allocations: 27.42 kB / 0.6104 GB, free: 7.543 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5899, allocations: 0 / 0.6104 GB, free: 7.543 MB / 426.7 MB Notification: Performance of Templates: time 0.005563/0.5955, allocations: 2.572 MB / 0.613 GB, free: 4.992 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches