Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 197.7 kB / 16.79 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.5 MB / 244.1 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007716/0.0007716, allocations: 107.5 kB / 296.1 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3581/0.3581, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003251, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3869, allocations: 62.95 MB / 0.5165 GB, free: 36.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.5144, allocations: 90.66 MB / 0.605 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5147, allocations: 83.95 kB / 0.6051 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01796/0.5327, allocations: 6.454 MB / 0.6114 GB, free: 8.203 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5327, allocations: 0 / 0.6114 GB, free: 8.203 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.5327, allocations: 0 / 0.6114 GB, free: 8.203 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006116/0.5334, allocations: 454.8 kB / 0.6118 GB, free: 7.707 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5334, allocations: 8.031 kB / 0.6118 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.5335, allocations: 12.84 kB / 0.6118 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.5338, allocations: 224 kB / 0.6121 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.5338, allocations: 384 / 0.6121 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.5338, allocations: 8.344 kB / 0.6121 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.534, allocations: 58.23 kB / 0.6121 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.534, allocations: 192 / 0.6121 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.534, allocations: 3.938 kB / 0.6121 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.534, allocations: 0 / 0.6121 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.5341, allocations: 23.92 kB / 0.6121 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.5345, allocations: 292.9 kB / 0.6124 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.5347, allocations: 62.61 kB / 0.6125 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.5348, allocations: 24.84 kB / 0.6125 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.5348, allocations: 0 / 0.6125 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.535, allocations: 71.33 kB / 0.6126 GB, free: 6.816 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.535, allocations: 0 / 0.6126 GB, free: 6.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005662/0.5355, allocations: 173.5 kB / 0.6127 GB, free: 6.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.5356, allocations: 51.41 kB / 0.6128 GB, free: 6.578 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.5358, allocations: 183.3 kB / 0.613 GB, free: 6.387 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.5358, allocations: 29.7 kB / 0.613 GB, free: 6.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.5359, allocations: 104.1 kB / 0.6131 GB, free: 6.246 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.5359, allocations: 31.64 kB / 0.6131 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.5359, allocations: 3.938 kB / 0.6131 GB, free: 6.211 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.536, allocations: 326.8 kB / 0.6134 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.5361, allocations: 20 kB / 0.6135 GB, free: 5.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.235e-05/0.5362, allocations: 33.7 kB / 0.6135 GB, free: 5.824 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.5363, allocations: 69.62 kB / 0.6136 GB, free: 5.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5363, allocations: 4.188 kB / 0.6136 GB, free: 5.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.5365, allocations: 97.48 kB / 0.6137 GB, free: 5.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5365, allocations: 18.53 kB / 0.6137 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5365, allocations: 4.062 kB / 0.6137 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.5365, allocations: 0 / 0.6137 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.5366, allocations: 19.98 kB / 0.6137 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5367, allocations: 0 / 0.6137 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.5367, allocations: 4 kB / 0.6137 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5367, allocations: 4 kB / 0.6137 GB, free: 5.598 MB / 426.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 9.988e-05/0.5368, allocations: 133.8 kB / 0.6138 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.5369, allocations: 7.906 kB / 0.6138 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.5371, allocations: 123.1 kB / 0.614 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5371, allocations: 0 / 0.614 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.5371, allocations: 4 kB / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5371, allocations: 0 / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.5376, allocations: 415.2 kB / 0.6144 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5376, allocations: 0 / 0.6144 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.5377, allocations: 19.92 kB / 0.6144 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5377, allocations: 0 / 0.6144 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.5377, allocations: 0 / 0.6144 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5377, allocations: 4 kB / 0.6144 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5377, allocations: 3.938 kB / 0.6144 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.538, allocations: 212.2 kB / 0.6146 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.5381, allocations: 92.92 kB / 0.6147 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.5381, allocations: 4 kB / 0.6147 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.5382, allocations: 3.984 kB / 0.6147 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.5382, allocations: 11.94 kB / 0.6147 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.5382, allocations: 4 kB / 0.6147 GB, free: 4.469 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.5384, allocations: 138 kB / 0.6148 GB, free: 4.336 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5384, allocations: 0 / 0.6148 GB, free: 4.336 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.5386, allocations: 35.88 kB / 0.6149 GB, free: 4.301 MB / 426.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.001136/0.5398, allocations: 475 kB / 0.6153 GB, free: 3.992 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.54, allocations: 63.91 kB / 0.6154 GB, free: 3.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.54, allocations: 4.062 kB / 0.6154 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.5401, allocations: 27.94 kB / 0.6154 GB, free: 3.898 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.5405, allocations: 38.91 kB / 0.6154 GB, free: 3.863 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.541, allocations: 276.1 kB / 0.6157 GB, free: 3.559 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.5413, allocations: 0.7082 MB / 0.6164 GB, free: 2.824 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.5414, allocations: 15.44 kB / 0.6164 GB, free: 2.809 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5414, allocations: 0 / 0.6164 GB, free: 2.809 MB / 426.7 MB Notification: Performance of Templates: time 0.003801/0.5452, allocations: 1.947 MB / 0.6183 GB, free: 0.8672 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches