Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00237/0.00237, allocations: 177.8 kB / 8.36 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.214/2.214, 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.001097/0.001097, allocations: 88.7 kB / 262.1 MB, free: 13.87 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.2913/0.2913, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.711e-05, allocations: 8.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3929, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.5548, allocations: 87.18 MB / 0.551 GB, free: 12.12 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5551, allocations: 71.97 kB / 0.5511 GB, free: 12.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02504/0.5802, allocations: 5.626 MB / 0.5566 GB, free: 6.426 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.589e-06/0.5803, allocations: 11.92 kB / 0.5566 GB, free: 6.414 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.5803, allocations: 0 / 0.5566 GB, free: 6.414 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.000567/0.5809, allocations: 386.2 kB / 0.557 GB, free: 5.992 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5809, allocations: 12.03 kB / 0.557 GB, free: 5.98 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.581, allocations: 7.906 kB / 0.557 GB, free: 5.973 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.5814, allocations: 210.8 kB / 0.5572 GB, free: 5.727 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5814, allocations: 0 / 0.5572 GB, free: 5.727 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.5815, allocations: 7.938 kB / 0.5572 GB, free: 5.719 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.696e-05/0.5816, allocations: 16 kB / 0.5572 GB, free: 5.703 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.5817, allocations: 67.39 kB / 0.5573 GB, free: 5.625 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5818, allocations: 0 / 0.5573 GB, free: 5.625 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.5818, allocations: 0 / 0.5573 GB, free: 5.625 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5818, allocations: 0 / 0.5573 GB, free: 5.625 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.5822, allocations: 265.4 kB / 0.5576 GB, free: 5.328 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.5824, allocations: 58.61 kB / 0.5576 GB, free: 5.262 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.5825, allocations: 16.98 kB / 0.5576 GB, free: 5.242 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.5825, allocations: 4 kB / 0.5576 GB, free: 5.238 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.5827, allocations: 67.39 kB / 0.5577 GB, free: 5.16 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 4.228e-06/0.5827, allocations: 0 / 0.5577 GB, free: 5.16 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005735/0.5833, allocations: 157.1 kB / 0.5578 GB, free: 5 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.5833, allocations: 85.11 kB / 0.5579 GB, free: 4.898 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.5835, allocations: 136.2 kB / 0.5581 GB, free: 4.762 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.5836, allocations: 25.7 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/0.5837, allocations: 158.6 kB / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.5837, allocations: 27.64 kB / 0.5583 GB, free: 4.547 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.5838, allocations: 0 / 0.5583 GB, free: 4.547 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5839, allocations: 314.8 kB / 0.5586 GB, free: 4.23 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.584, allocations: 16 kB / 0.5586 GB, free: 4.215 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.5841, allocations: 46.56 kB / 0.5586 GB, free: 4.16 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.01e-05/0.5842, allocations: 19.94 kB / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5842, allocations: 0 / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002112/0.5844, allocations: 81.67 kB / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5844, allocations: 4 kB / 0.5587 GB, free: 4.051 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5844, allocations: 4 kB / 0.5587 GB, free: 4.047 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.5845, allocations: 3.953 kB / 0.5587 GB, free: 4.043 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.5846, allocations: 19.92 kB / 0.5587 GB, free: 4.023 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5847, allocations: 4.062 kB / 0.5587 GB, free: 4.02 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.861e-05/0.5847, allocations: 4 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.5848, allocations: 8 kB / 0.5588 GB, free: 4.008 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 9.807e-05/0.5849, allocations: 101 kB / 0.5589 GB, free: 3.902 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.5849, allocations: 11.91 kB / 0.5589 GB, free: 3.891 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.5852, allocations: 106.1 kB / 0.559 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.5853, allocations: 4 kB / 0.559 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5853, allocations: 3.953 kB / 0.559 GB, free: 3.773 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5853, allocations: 4.281 kB / 0.559 GB, free: 3.77 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.5859, allocations: 363.9 kB / 0.5593 GB, free: 3.367 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.5859, allocations: 3.984 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.586, allocations: 11.94 kB / 0.5593 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.586, allocations: 4 kB / 0.5593 GB, free: 3.348 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.586, allocations: 7.953 kB / 0.5594 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.586, allocations: 0 / 0.5594 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.586, allocations: 0 / 0.5594 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.5864, allocations: 210 kB / 0.5596 GB, free: 3.109 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.5864, allocations: 93 kB / 0.5596 GB, free: 3 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.5865, allocations: 7.953 kB / 0.5596 GB, free: 2.992 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.5866, allocations: 3.938 kB / 0.5597 GB, free: 2.988 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.5867, allocations: 7.984 kB / 0.5597 GB, free: 2.98 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.5867, allocations: 8 kB / 0.5597 GB, free: 2.973 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.5868, allocations: 115.3 kB / 0.5598 GB, free: 2.859 MB / 395.1 MB Notification: Performance of sort global known variables: time 4e-07/0.5869, allocations: 0 / 0.5598 GB, free: 2.859 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004132/0.5873, allocations: 39.92 kB / 0.5598 GB, free: 2.82 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.001302/0.5886, allocations: 437.9 kB / 0.5602 GB, free: 2.434 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.5888, allocations: 59.92 kB / 0.5603 GB, free: 2.375 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5888, allocations: 0 / 0.5603 GB, free: 2.375 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.5889, allocations: 24 kB / 0.5603 GB, free: 2.352 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.5893, allocations: 23.84 kB / 0.5603 GB, free: 2.328 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.5898, allocations: 163.6 kB / 0.5605 GB, free: 2.133 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.5901, allocations: 0.7042 MB / 0.5612 GB, free: 1.402 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.5902, allocations: 27.36 kB / 0.5612 GB, free: 1.375 MB / 395.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5902, allocations: 0 / 0.5612 GB, free: 1.375 MB / 395.1 MB Notification: Performance of Templates: time 0.006065/0.5963, allocations: 2.057 MB / 0.5632 GB, free: 15.32 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches