Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 194 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 244.1 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000805/0.0008052, allocations: 108.2 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3463/0.3463, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.000333, allocations: 12 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4063, allocations: 62.95 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.5338, allocations: 90.65 MB / 0.605 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.5341, allocations: 71.97 kB / 0.6051 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01891/0.553, allocations: 6.54 MB / 0.6115 GB, free: 8.133 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5531, allocations: 0 / 0.6115 GB, free: 8.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.5531, allocations: 4 kB / 0.6115 GB, free: 8.129 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.0006946/0.5538, allocations: 462.7 kB / 0.6119 GB, free: 7.625 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5539, allocations: 8.031 kB / 0.6119 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.5539, allocations: 16.73 kB / 0.6119 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.5543, allocations: 230 kB / 0.6122 GB, free: 7.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5543, allocations: 4.375 kB / 0.6122 GB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.5543, allocations: 8.375 kB / 0.6122 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.5545, allocations: 62.17 kB / 0.6122 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5545, allocations: 192 / 0.6122 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5545, allocations: 7.922 kB / 0.6122 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5546, allocations: 4 kB / 0.6122 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.5546, allocations: 15.98 kB / 0.6122 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.5551, allocations: 289 kB / 0.6125 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.5553, allocations: 66.55 kB / 0.6126 GB, free: 6.828 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.5554, allocations: 28.84 kB / 0.6126 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.5554, allocations: 0 / 0.6126 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.5556, allocations: 63.39 kB / 0.6127 GB, free: 6.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.5556, allocations: 0 / 0.6127 GB, free: 6.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005951/0.5562, allocations: 177.1 kB / 0.6128 GB, free: 6.543 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.5562, allocations: 55.41 kB / 0.6129 GB, free: 6.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.5565, allocations: 212.7 kB / 0.6131 GB, free: 6.262 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5565, allocations: 29.7 kB / 0.6131 GB, free: 6.227 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.5566, allocations: 104.1 kB / 0.6132 GB, free: 6.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.5566, allocations: 31.62 kB / 0.6133 GB, free: 6.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.5566, allocations: 0 / 0.6133 GB, free: 6.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.5568, allocations: 334.7 kB / 0.6136 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.5568, allocations: 20 kB / 0.6136 GB, free: 5.734 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.5569, allocations: 41.64 kB / 0.6136 GB, free: 5.688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.557, allocations: 57.7 kB / 0.6137 GB, free: 5.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5571, allocations: 0 / 0.6137 GB, free: 5.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.5573, allocations: 109.6 kB / 0.6138 GB, free: 5.512 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5573, allocations: 4.188 kB / 0.6138 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.5573, allocations: 0 / 0.6138 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5573, allocations: 7.969 kB / 0.6138 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.5574, allocations: 19.98 kB / 0.6138 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5574, allocations: 0 / 0.6138 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.5575, allocations: 7.906 kB / 0.6138 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.5575, allocations: 4 kB / 0.6138 GB, free: 5.469 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 0.0001064/0.5576, allocations: 135.8 kB / 0.614 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.5577, allocations: 7.906 kB / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.5579, allocations: 115.1 kB / 0.6141 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.5579, allocations: 8 kB / 0.6141 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.558, allocations: 3.938 kB / 0.6141 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.558, allocations: 0 / 0.6141 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.5585, allocations: 423.6 kB / 0.6145 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5585, allocations: 3.938 kB / 0.6145 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.5585, allocations: 15.98 kB / 0.6145 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5585, allocations: 0 / 0.6145 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.5586, allocations: 4 kB / 0.6145 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5586, allocations: 4.031 kB / 0.6145 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5586, allocations: 3.938 kB / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.5588, allocations: 204.2 kB / 0.6147 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.5589, allocations: 100.9 kB / 0.6148 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.559, allocations: 0 / 0.6148 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.559, allocations: 8 kB / 0.6148 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.5591, allocations: 19.91 kB / 0.6148 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.5591, allocations: 4 kB / 0.6149 GB, free: 4.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.5593, allocations: 156.3 kB / 0.615 GB, free: 4.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5593, allocations: 4 kB / 0.615 GB, free: 4.164 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.5596, allocations: 35.88 kB / 0.615 GB, free: 4.129 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.001033/0.5606, allocations: 461.2 kB / 0.6155 GB, free: 3.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.5608, allocations: 63.95 kB / 0.6155 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5608, allocations: 0 / 0.6155 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.5609, allocations: 35.92 kB / 0.6156 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.5613, allocations: 25.09 kB / 0.6156 GB, free: 3.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.5618, allocations: 307.7 kB / 0.6159 GB, free: 3.391 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5621, allocations: 0.7086 MB / 0.6166 GB, free: 2.656 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.5622, allocations: 15.44 kB / 0.6166 GB, free: 2.641 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5622, allocations: 0 / 0.6166 GB, free: 2.641 MB / 426.7 MB Notification: Performance of Templates: time 0.003827/0.566, allocations: 2.023 MB / 0.6186 GB, free: 0.625 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches