Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00207/0.00207, allocations: 180.1 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 85.44 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3052/0.3052, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.254e-05, allocations: 12.2 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4158, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.6237, allocations: 86.96 MB / 0.5508 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/0.6242, allocations: 71.97 kB / 0.5509 GB, free: 12.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0347/0.6589, allocations: 5.64 MB / 0.5564 GB, free: 6.645 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.659, allocations: 0 / 0.5564 GB, free: 6.645 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.659, allocations: 7.938 kB / 0.5564 GB, free: 6.637 MB / 395.1 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.0006013/0.6596, allocations: 414.1 kB / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6597, allocations: 8.031 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.6597, allocations: 15.91 kB / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.6602, allocations: 230.7 kB / 0.5571 GB, free: 5.898 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.6603, allocations: 0 / 0.5571 GB, free: 5.898 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.6603, allocations: 4 kB / 0.5571 GB, free: 5.895 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000119/0.6605, allocations: 19.98 kB / 0.5571 GB, free: 5.875 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.6606, allocations: 53.61 kB / 0.5571 GB, free: 5.816 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.6607, allocations: 0 / 0.5571 GB, free: 5.816 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.6607, allocations: 0 / 0.5571 GB, free: 5.816 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.6607, allocations: 7.938 kB / 0.5571 GB, free: 5.809 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.6613, allocations: 289.3 kB / 0.5574 GB, free: 5.488 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.6615, allocations: 50.69 kB / 0.5575 GB, free: 5.43 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.6616, allocations: 20.98 kB / 0.5575 GB, free: 5.406 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.6617, allocations: 0 / 0.5575 GB, free: 5.406 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.6619, allocations: 63.33 kB / 0.5575 GB, free: 5.332 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.335e-06/0.6619, allocations: 0 / 0.5575 GB, free: 5.332 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007254/0.6626, allocations: 153.2 kB / 0.5577 GB, free: 5.176 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.6627, allocations: 51.41 kB / 0.5577 GB, free: 5.113 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.6633, allocations: 237.7 kB / 0.558 GB, free: 4.871 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.6633, allocations: 25.7 kB / 0.558 GB, free: 4.84 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.6635, allocations: 174.5 kB / 0.5582 GB, free: 4.668 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.6635, allocations: 27.64 kB / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.6636, allocations: 0 / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6637, allocations: 310.8 kB / 0.5585 GB, free: 4.328 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.6638, allocations: 24 kB / 0.5585 GB, free: 4.305 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.6639, allocations: 33.7 kB / 0.5585 GB, free: 4.266 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.343e-05/0.6641, allocations: 16.06 kB / 0.5586 GB, free: 4.25 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6641, allocations: 4 kB / 0.5586 GB, free: 4.246 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003097/0.6644, allocations: 93.5 kB / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.6644, allocations: 8 kB / 0.5587 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.6645, allocations: 0 / 0.5587 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.6645, allocations: 0 / 0.5587 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.6647, allocations: 20.02 kB / 0.5587 GB, free: 4.121 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.6647, allocations: 7.984 kB / 0.5587 GB, free: 4.113 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.6649, allocations: 0 / 0.5587 GB, free: 4.113 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.6649, allocations: 7.953 kB / 0.5587 GB, free: 4.105 MB / 395.1 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 () * 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.0001201/0.665, allocations: 105 kB / 0.5588 GB, free: 3.996 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.6651, allocations: 7.906 kB / 0.5588 GB, free: 3.988 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.6655, allocations: 119.3 kB / 0.5589 GB, free: 3.867 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6656, allocations: 0 / 0.5589 GB, free: 3.867 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.6656, allocations: 8.281 kB / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6656, allocations: 0 / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000892/0.6665, allocations: 403.8 kB / 0.5593 GB, free: 3.418 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6665, allocations: 4.125 kB / 0.5593 GB, free: 3.414 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.6667, allocations: 15.98 kB / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.6667, allocations: 0 / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.6667, allocations: 4 kB / 0.5593 GB, free: 3.395 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.6667, allocations: 3.938 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6668, allocations: 0 / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.6672, allocations: 221.9 kB / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.6674, allocations: 96.91 kB / 0.5596 GB, free: 3.035 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.6675, allocations: 7.938 kB / 0.5596 GB, free: 3.027 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.6677, allocations: 0 / 0.5596 GB, free: 3.027 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.6677, allocations: 15.94 kB / 0.5597 GB, free: 3.012 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.6678, allocations: 11.94 kB / 0.5597 GB, free: 3 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003641/0.6681, allocations: 188.2 kB / 0.5598 GB, free: 2.816 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6682, allocations: 4 kB / 0.5599 GB, free: 2.812 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006402/0.6688, allocations: 35.92 kB / 0.5599 GB, free: 2.777 MB / 395.1 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) * 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.0016/0.6704, allocations: 391.8 kB / 0.5603 GB, free: 2.438 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.6708, allocations: 51.94 kB / 0.5603 GB, free: 2.387 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6708, allocations: 0 / 0.5603 GB, free: 2.387 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.6709, allocations: 31.92 kB / 0.5603 GB, free: 2.355 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.6715, allocations: 28.28 kB / 0.5604 GB, free: 2.328 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008804/0.6724, allocations: 247.7 kB / 0.5606 GB, free: 2.055 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.673, allocations: 0.7236 MB / 0.5613 GB, free: 1.305 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.6731, allocations: 15.44 kB / 0.5613 GB, free: 1.289 MB / 395.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6731, allocations: 0 / 0.5613 GB, free: 1.289 MB / 395.1 MB Notification: Performance of Templates: time 0.007935/0.6811, allocations: 2.146 MB / 0.5634 GB, free: 15.15 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches