Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 179.4 kB / 8.364 MB, free: 0.7148 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.146/2.146, 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.001109/0.001109, allocations: 87.52 kB / 262.1 MB, free: 13.88 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.2923/0.2923, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.338e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.457, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.6257, allocations: 86.97 MB / 0.5508 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.626, allocations: 71.97 kB / 0.5509 GB, free: 12.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02512/0.6512, allocations: 5.337 MB / 0.5561 GB, free: 6.945 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6512, allocations: 3.828 kB / 0.5561 GB, free: 6.945 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.6512, allocations: 0 / 0.5561 GB, free: 6.945 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.0006456/0.6519, allocations: 390.2 kB / 0.5565 GB, free: 6.52 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.652, allocations: 12.03 kB / 0.5565 GB, free: 6.508 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.652, allocations: 7.906 kB / 0.5565 GB, free: 6.5 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.6525, allocations: 225.6 kB / 0.5567 GB, free: 6.242 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.6525, allocations: 4 kB / 0.5567 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.6526, allocations: 0 / 0.5567 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/0.6527, allocations: 19.98 kB / 0.5568 GB, free: 6.219 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.6528, allocations: 49.69 kB / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.6528, allocations: 0 / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.6529, allocations: 3.984 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6529, allocations: 0 / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.6534, allocations: 273.4 kB / 0.5571 GB, free: 5.855 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.6536, allocations: 46.69 kB / 0.5571 GB, free: 5.801 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.6537, allocations: 16.98 kB / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.6537, allocations: 0 / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.6539, allocations: 75.33 kB / 0.5572 GB, free: 5.695 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.6539, allocations: 3.938 kB / 0.5572 GB, free: 5.691 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006539/0.6546, allocations: 141.2 kB / 0.5573 GB, free: 5.547 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.6546, allocations: 55.41 kB / 0.5574 GB, free: 5.48 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.6549, allocations: 166.2 kB / 0.5575 GB, free: 5.312 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.6549, allocations: 25.7 kB / 0.5576 GB, free: 5.281 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.655, allocations: 162.6 kB / 0.5577 GB, free: 5.121 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.6551, allocations: 23.7 kB / 0.5577 GB, free: 5.098 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.6551, allocations: 4 kB / 0.5578 GB, free: 5.094 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6553, allocations: 310.8 kB / 0.558 GB, free: 4.781 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.6554, allocations: 27.92 kB / 0.5581 GB, free: 4.754 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.447e-05/0.6555, allocations: 33.66 kB / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.303e-05/0.6555, allocations: 23.97 kB / 0.5581 GB, free: 4.691 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6556, allocations: 0 / 0.5581 GB, free: 4.691 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002235/0.6558, allocations: 81.59 kB / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.6558, allocations: 8 kB / 0.5582 GB, free: 4.598 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6559, allocations: 7.969 kB / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6559, allocations: 0 / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.6561, allocations: 15.98 kB / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.6561, allocations: 4 kB / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.6562, allocations: 0 / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.6562, allocations: 11.95 kB / 0.5583 GB, free: 4.559 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.0001073/0.6563, allocations: 101 kB / 0.5584 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.6564, allocations: 11.91 kB / 0.5584 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.6568, allocations: 118.2 kB / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6568, allocations: 0 / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.6568, allocations: 0 / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.6568, allocations: 0 / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.6575, allocations: 383.7 kB / 0.5588 GB, free: 3.898 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.6575, allocations: 3.984 kB / 0.5588 GB, free: 3.895 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.704e-05/0.6576, allocations: 8.188 kB / 0.5589 GB, free: 3.887 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.6576, allocations: 8 kB / 0.5589 GB, free: 3.879 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.6576, allocations: 8.016 kB / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6577, allocations: 0 / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6577, allocations: 0 / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.658, allocations: 209.9 kB / 0.5591 GB, free: 3.641 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.6581, allocations: 93.02 kB / 0.5592 GB, free: 3.531 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.6582, allocations: 3.938 kB / 0.5592 GB, free: 3.527 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.6583, allocations: 11.98 kB / 0.5592 GB, free: 3.516 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.6584, allocations: 11.89 kB / 0.5592 GB, free: 3.504 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.6584, allocations: 12.36 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.6586, allocations: 132.1 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6586, allocations: 0 / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.6591, allocations: 39.89 kB / 0.5594 GB, free: 3.324 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.001174/0.6602, allocations: 391 kB / 0.5597 GB, free: 2.984 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.6605, allocations: 51.94 kB / 0.5598 GB, free: 2.934 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.6605, allocations: 4.062 kB / 0.5598 GB, free: 2.93 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.6606, allocations: 35.92 kB / 0.5598 GB, free: 2.895 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.6611, allocations: 23.84 kB / 0.5598 GB, free: 2.871 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.6616, allocations: 194.9 kB / 0.56 GB, free: 2.641 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.662, allocations: 0.7041 MB / 0.5607 GB, free: 1.91 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.6621, allocations: 23.48 kB / 0.5607 GB, free: 1.887 MB / 395.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6621, allocations: 0 / 0.5607 GB, free: 1.887 MB / 395.1 MB Notification: Performance of Templates: time 0.00587/0.668, allocations: 1.924 MB / 0.5626 GB, free: 15.97 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches