Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 193.5 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.266/1.266, allocations: 226.5 MB / 244.1 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007765/0.0007765, allocations: 101.2 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2986/0.2986, allocations: 44.82 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002808, allocations: 12 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3236, allocations: 62.95 MB / 0.5165 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.4429, allocations: 90.65 MB / 0.605 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.4433, allocations: 79.95 kB / 0.6051 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02108/0.4644, allocations: 6.567 MB / 0.6115 GB, free: 8.078 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4645, allocations: 0 / 0.6115 GB, free: 8.078 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.4645, allocations: 8 kB / 0.6115 GB, free: 8.07 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.0006411/0.4651, allocations: 458.7 kB / 0.6119 GB, free: 7.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4652, allocations: 8.031 kB / 0.6119 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.4653, allocations: 12.75 kB / 0.612 GB, free: 7.551 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.4656, allocations: 226 kB / 0.6122 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4656, allocations: 4.375 kB / 0.6122 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4656, allocations: 4.375 kB / 0.6122 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.4658, allocations: 62.16 kB / 0.6122 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4658, allocations: 192 / 0.6122 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4658, allocations: 3.938 kB / 0.6122 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4658, allocations: 4 kB / 0.6123 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.32e-05/0.4659, allocations: 19.98 kB / 0.6123 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.4663, allocations: 292.9 kB / 0.6125 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.4665, allocations: 62.56 kB / 0.6126 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.4666, allocations: 24.84 kB / 0.6126 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.4666, allocations: 3.984 kB / 0.6126 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.4667, allocations: 71.39 kB / 0.6127 GB, free: 6.672 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.4667, allocations: 0 / 0.6127 GB, free: 6.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005486/0.4673, allocations: 177.1 kB / 0.6129 GB, free: 6.492 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.4673, allocations: 55.41 kB / 0.6129 GB, free: 6.426 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.4676, allocations: 204.7 kB / 0.6131 GB, free: 6.219 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.4676, allocations: 37.64 kB / 0.6132 GB, free: 6.176 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.4677, allocations: 100.1 kB / 0.6133 GB, free: 6.074 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.4677, allocations: 31.64 kB / 0.6133 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.4677, allocations: 4 kB / 0.6133 GB, free: 6.039 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4678, allocations: 326.8 kB / 0.6136 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.4679, allocations: 27.92 kB / 0.6136 GB, free: 5.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.468, allocations: 37.64 kB / 0.6137 GB, free: 5.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.4681, allocations: 57.7 kB / 0.6137 GB, free: 5.578 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4681, allocations: 0 / 0.6137 GB, free: 5.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.4683, allocations: 113.6 kB / 0.6138 GB, free: 5.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4683, allocations: 4 kB / 0.6138 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.4684, allocations: 0 / 0.6138 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4684, allocations: 0 / 0.6138 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.4685, allocations: 19.98 kB / 0.6138 GB, free: 5.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4685, allocations: 0 / 0.6138 GB, free: 5.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.4685, allocations: 8 kB / 0.6139 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.4685, allocations: 3.984 kB / 0.6139 GB, free: 5.426 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.0001015/0.4686, allocations: 137.7 kB / 0.614 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.4687, allocations: 11.81 kB / 0.614 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.4689, allocations: 123 kB / 0.6141 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.469, allocations: 4 kB / 0.6141 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.469, allocations: 384 / 0.6141 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.469, allocations: 3.984 kB / 0.6141 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.4695, allocations: 423.2 kB / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4695, allocations: 0 / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.4695, allocations: 11.98 kB / 0.6145 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4695, allocations: 0 / 0.6145 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.4695, allocations: 4 kB / 0.6145 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4696, allocations: 0 / 0.6145 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4696, allocations: 3.938 kB / 0.6145 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.4698, allocations: 224.4 kB / 0.6148 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.4699, allocations: 92.92 kB / 0.6149 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.4699, allocations: 4 kB / 0.6149 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.47, allocations: 7.984 kB / 0.6149 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.47, allocations: 7.938 kB / 0.6149 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.4701, allocations: 4 kB / 0.6149 GB, free: 4.273 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.4702, allocations: 160.3 kB / 0.615 GB, free: 4.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4702, allocations: 0 / 0.615 GB, free: 4.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.4705, allocations: 31.94 kB / 0.6151 GB, free: 4.086 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.001004/0.4715, allocations: 464 kB / 0.6155 GB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.4717, allocations: 59.97 kB / 0.6156 GB, free: 3.734 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4717, allocations: 4.062 kB / 0.6156 GB, free: 3.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.339e-05/0.4718, allocations: 35.92 kB / 0.6156 GB, free: 3.695 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.4721, allocations: 35.48 kB / 0.6156 GB, free: 3.668 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.4726, allocations: 299.7 kB / 0.6159 GB, free: 3.344 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.4729, allocations: 0.7043 MB / 0.6166 GB, free: 2.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.473, allocations: 19.42 kB / 0.6166 GB, free: 2.594 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.473, allocations: 3.938 kB / 0.6166 GB, free: 2.59 MB / 426.7 MB Notification: Performance of Templates: time 0.003535/0.4765, allocations: 2.016 MB / 0.6186 GB, free: 0.5742 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches