Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009113/0.0009115, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008075/0.0008078, allocations: 97.39 kB / 271.3 MB, free: 8.254 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.4128/0.4128, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003841, allocations: 20 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.5512, allocations: 87.75 MB / 0.5657 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5516, allocations: 75.95 kB / 0.5657 GB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01556/0.5671, allocations: 5.594 MB / 0.5712 GB, free: 8.621 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5672, allocations: 0 / 0.5712 GB, free: 8.621 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.5672, allocations: 4 kB / 0.5712 GB, free: 8.617 MB / 394.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.0006593/0.5679, allocations: 437.8 kB / 0.5716 GB, free: 8.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.568, allocations: 12.03 kB / 0.5716 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.568, allocations: 8.844 kB / 0.5716 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.5684, allocations: 232 kB / 0.5719 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.5684, allocations: 384 / 0.5719 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.5684, allocations: 8.359 kB / 0.5719 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.5686, allocations: 54.23 kB / 0.5719 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5686, allocations: 4.125 kB / 0.5719 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.5686, allocations: 7.922 kB / 0.5719 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5687, allocations: 0 / 0.5719 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.5687, allocations: 20.86 kB / 0.5719 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.5692, allocations: 300.8 kB / 0.5722 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.5694, allocations: 66.55 kB / 0.5723 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.5695, allocations: 24.84 kB / 0.5723 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5695, allocations: 0 / 0.5723 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.5697, allocations: 75.39 kB / 0.5724 GB, free: 7.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.5697, allocations: 0 / 0.5724 GB, free: 7.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006046/0.5703, allocations: 177.1 kB / 0.5726 GB, free: 7.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.5704, allocations: 55.41 kB / 0.5726 GB, free: 6.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.5706, allocations: 218.7 kB / 0.5728 GB, free: 6.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.5707, allocations: 25.7 kB / 0.5728 GB, free: 6.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.5707, allocations: 108.1 kB / 0.573 GB, free: 6.613 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.5708, allocations: 23.66 kB / 0.573 GB, free: 6.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-06/0.5708, allocations: 8 kB / 0.573 GB, free: 6.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5709, allocations: 326.8 kB / 0.5733 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.571, allocations: 19.98 kB / 0.5733 GB, free: 6.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.5711, allocations: 41.69 kB / 0.5734 GB, free: 6.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5712, allocations: 65.7 kB / 0.5734 GB, free: 6.117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5712, allocations: 0 / 0.5734 GB, free: 6.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002202/0.5715, allocations: 109.4 kB / 0.5735 GB, free: 6.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5715, allocations: 8 kB / 0.5735 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.5715, allocations: 0 / 0.5735 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5715, allocations: 192 / 0.5735 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.5716, allocations: 16 kB / 0.5735 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5717, allocations: 7.938 kB / 0.5735 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.5717, allocations: 3.984 kB / 0.5736 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5717, allocations: 4 kB / 0.5736 GB, free: 5.965 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.5719, allocations: 140.6 kB / 0.5737 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.572, allocations: 15.81 kB / 0.5737 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.5722, allocations: 119 kB / 0.5738 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5723, allocations: 0 / 0.5738 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5723, allocations: 0 / 0.5738 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5723, allocations: 0 / 0.5738 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.5728, allocations: 423.2 kB / 0.5742 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5729, allocations: 4.031 kB / 0.5742 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.5729, allocations: 15.94 kB / 0.5742 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.5729, allocations: 7.984 kB / 0.5742 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.573, allocations: 3.938 kB / 0.5743 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.573, allocations: 0 / 0.5743 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.573, allocations: 3.938 kB / 0.5743 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.5733, allocations: 212.1 kB / 0.5745 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.5734, allocations: 101 kB / 0.5746 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.5734, allocations: 0 / 0.5746 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.5735, allocations: 4 kB / 0.5746 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.5735, allocations: 11.92 kB / 0.5746 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.5736, allocations: 4.375 kB / 0.5746 GB, free: 4.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.5737, allocations: 174.4 kB / 0.5747 GB, free: 4.645 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5738, allocations: 0 / 0.5747 GB, free: 4.645 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.5741, allocations: 31.94 kB / 0.5748 GB, free: 4.613 MB / 394.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 (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.001193/0.5753, allocations: 484.1 kB / 0.5752 GB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.5755, allocations: 59.91 kB / 0.5753 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5755, allocations: 0 / 0.5753 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.5756, allocations: 39.98 kB / 0.5753 GB, free: 4.137 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.576, allocations: 31.09 kB / 0.5754 GB, free: 4.109 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.5765, allocations: 284.8 kB / 0.5756 GB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.5768, allocations: 0.7082 MB / 0.5763 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.886e-05/0.5769, allocations: 20.55 kB / 0.5763 GB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.577, allocations: 15.44 kB / 0.5764 GB, free: 3.039 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.577, allocations: 0 / 0.5764 GB, free: 3.039 MB / 394.7 MB Notification: Performance of Templates: time 0.004871/0.5818, allocations: 1.768 MB / 0.5781 GB, free: 1.285 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches