Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009816/0.0009816, allocations: 190.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.5 MB / 244.1 MB, free: 8.129 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007464/0.0007464, allocations: 111.3 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.438/0.438, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4281, allocations: 62.95 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.558, allocations: 90.65 MB / 0.605 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5583, allocations: 83.95 kB / 0.6051 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01804/0.5763, allocations: 6.56 MB / 0.6115 GB, free: 8.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.5764, allocations: 4 kB / 0.6115 GB, free: 8.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.5764, allocations: 7.938 kB / 0.6115 GB, free: 8.082 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.0006033/0.577, allocations: 454.8 kB / 0.6119 GB, free: 7.586 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.577, allocations: 8.031 kB / 0.6119 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.5771, allocations: 16.75 kB / 0.612 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.5774, allocations: 226 kB / 0.6122 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.5774, allocations: 4.375 kB / 0.6122 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.5775, allocations: 8.375 kB / 0.6122 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.5776, allocations: 58.17 kB / 0.6122 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5776, allocations: 192 / 0.6122 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5776, allocations: 7.938 kB / 0.6122 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5777, allocations: 0 / 0.6122 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.5777, allocations: 23.97 kB / 0.6123 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.5781, allocations: 292.9 kB / 0.6126 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.5783, allocations: 66.55 kB / 0.6126 GB, free: 6.789 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.5784, allocations: 24.84 kB / 0.6126 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.5784, allocations: 0 / 0.6126 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.5786, allocations: 67.39 kB / 0.6127 GB, free: 6.684 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.634e-06/0.5786, allocations: 0 / 0.6127 GB, free: 6.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005602/0.5792, allocations: 181.4 kB / 0.6129 GB, free: 6.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.5792, allocations: 51.41 kB / 0.6129 GB, free: 6.438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.5794, allocations: 212.7 kB / 0.6131 GB, free: 6.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.5794, allocations: 25.7 kB / 0.6132 GB, free: 6.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.5795, allocations: 104.1 kB / 0.6133 GB, free: 6.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.5795, allocations: 23.66 kB / 0.6133 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.5796, allocations: 0 / 0.6133 GB, free: 6.062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5797, allocations: 338.7 kB / 0.6136 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-05/0.5797, allocations: 20 kB / 0.6136 GB, free: 5.703 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.5798, allocations: 45.64 kB / 0.6137 GB, free: 5.652 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.5799, allocations: 53.7 kB / 0.6137 GB, free: 5.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5799, allocations: 0 / 0.6137 GB, free: 5.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.5801, allocations: 109.5 kB / 0.6138 GB, free: 5.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5802, allocations: 4 kB / 0.6138 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5802, allocations: 8.25 kB / 0.6138 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5802, allocations: 4 kB / 0.6138 GB, free: 5.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.5803, allocations: 16.17 kB / 0.6138 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5803, allocations: 3.984 kB / 0.6138 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.5804, allocations: 11.84 kB / 0.6139 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.5804, allocations: 4 kB / 0.6139 GB, free: 5.43 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.0001018/0.5805, allocations: 133.7 kB / 0.614 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.5805, allocations: 11.91 kB / 0.614 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.5808, allocations: 123 kB / 0.6141 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5808, allocations: 0 / 0.6141 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5808, allocations: 0 / 0.6141 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5808, allocations: 0 / 0.6141 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.5813, allocations: 427.1 kB / 0.6145 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5813, allocations: 0 / 0.6145 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.5814, allocations: 8 kB / 0.6145 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5814, allocations: 4.031 kB / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.5814, allocations: 7.984 kB / 0.6145 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5814, allocations: 0 / 0.6145 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5814, allocations: 7.938 kB / 0.6146 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.5816, allocations: 204.2 kB / 0.6147 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.5817, allocations: 96.91 kB / 0.6148 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.5817, allocations: 4 kB / 0.6148 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.5818, allocations: 8 kB / 0.6149 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.5819, allocations: 11.92 kB / 0.6149 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.5819, allocations: 4 kB / 0.6149 GB, free: 4.289 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.5821, allocations: 156.3 kB / 0.615 GB, free: 4.137 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5821, allocations: 0 / 0.615 GB, free: 4.137 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.5824, allocations: 39.86 kB / 0.6151 GB, free: 4.098 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.001258/0.5836, allocations: 477.2 kB / 0.6155 GB, free: 3.801 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.5838, allocations: 55.97 kB / 0.6156 GB, free: 3.746 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5839, allocations: 4 kB / 0.6156 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.584, allocations: 31.92 kB / 0.6156 GB, free: 3.711 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.5844, allocations: 31.2 kB / 0.6156 GB, free: 3.684 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.585, allocations: 299.7 kB / 0.6159 GB, free: 3.359 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.5854, allocations: 0.716 MB / 0.6166 GB, free: 2.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.5854, allocations: 19.38 kB / 0.6166 GB, free: 2.598 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5854, allocations: 0 / 0.6166 GB, free: 2.598 MB / 426.7 MB Notification: Performance of Templates: time 0.003698/0.5891, allocations: 2.008 MB / 0.6186 GB, free: 0.5938 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches