Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, 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.141/2.141, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001106/0.001106, allocations: 89.69 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.2956/0.2956, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.587e-05, allocations: 8.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3942, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.5567, allocations: 87 MB / 0.5509 GB, free: 12.3 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.557, allocations: 71.97 kB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02452/0.5816, allocations: 5.524 MB / 0.5563 GB, free: 6.715 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5816, allocations: 0 / 0.5563 GB, free: 6.715 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.5817, allocations: 4 kB / 0.5563 GB, free: 6.711 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007211/0.5824, allocations: 430 kB / 0.5568 GB, free: 6.246 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5825, allocations: 12.03 kB / 0.5568 GB, free: 6.234 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.5825, allocations: 15.81 kB / 0.5568 GB, free: 6.219 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.5831, allocations: 246.6 kB / 0.557 GB, free: 5.938 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.5832, allocations: 8 kB / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.5832, allocations: 0 / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001266/0.5833, allocations: 27.98 kB / 0.557 GB, free: 5.902 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.5835, allocations: 96.97 kB / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5836, allocations: 4 kB / 0.5571 GB, free: 5.785 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.5836, allocations: 3.984 kB / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5836, allocations: 3.938 kB / 0.5572 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.5839, allocations: 191.1 kB / 0.5573 GB, free: 5.551 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.5842, allocations: 93.34 kB / 0.5574 GB, free: 5.441 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.5843, allocations: 41.66 kB / 0.5575 GB, free: 5.395 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.5843, allocations: 0 / 0.5575 GB, free: 5.395 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.5846, allocations: 105.2 kB / 0.5576 GB, free: 5.273 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.5846, allocations: 0 / 0.5576 GB, free: 5.273 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004182/0.585, allocations: 129.4 kB / 0.5577 GB, free: 5.141 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/0.5851, allocations: 136.5 kB / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.5855, allocations: 191 kB / 0.558 GB, free: 4.781 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.5855, allocations: 29.69 kB / 0.558 GB, free: 4.746 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.5856, allocations: 170.6 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.5857, allocations: 23.66 kB / 0.5582 GB, free: 4.555 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.5857, allocations: 0 / 0.5582 GB, free: 4.555 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5858, allocations: 322.8 kB / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.586, allocations: 20 kB / 0.5585 GB, free: 4.211 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.5861, allocations: 65.14 kB / 0.5586 GB, free: 4.129 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.5862, allocations: 35.88 kB / 0.5586 GB, free: 4.094 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5862, allocations: 0 / 0.5586 GB, free: 4.094 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002951/0.5865, allocations: 109.6 kB / 0.5587 GB, free: 3.98 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5866, allocations: 8.094 kB / 0.5587 GB, free: 3.973 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5866, allocations: 0 / 0.5587 GB, free: 3.973 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.5866, allocations: 4 kB / 0.5588 GB, free: 3.969 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.5868, allocations: 19.98 kB / 0.5588 GB, free: 3.949 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.5868, allocations: 4 kB / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.587, allocations: 7.906 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.587, allocations: 7.938 kB / 0.5588 GB, free: 3.93 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001236/0.5872, allocations: 116.9 kB / 0.5589 GB, free: 3.809 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.5872, allocations: 19.81 kB / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.5877, allocations: 147.5 kB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5877, allocations: 0 / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5877, allocations: 8.062 kB / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5877, allocations: 0 / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.588, allocations: 206 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.588, allocations: 0 / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-05/0.5881, allocations: 8 kB / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.5881, allocations: 3.953 kB / 0.5593 GB, free: 3.379 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.5881, allocations: 15.91 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5882, allocations: 4 kB / 0.5593 GB, free: 3.359 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5882, allocations: 0 / 0.5593 GB, free: 3.359 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.5886, allocations: 175.4 kB / 0.5595 GB, free: 3.16 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5887, allocations: 104.9 kB / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.5888, allocations: 0 / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.5889, allocations: 15.98 kB / 0.5596 GB, free: 3.023 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.589, allocations: 7.984 kB / 0.5596 GB, free: 3.016 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.589, allocations: 4 kB / 0.5596 GB, free: 3.012 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.5892, allocations: 157.5 kB / 0.5597 GB, free: 2.859 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5892, allocations: 0 / 0.5597 GB, free: 2.859 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.5897, allocations: 43.88 kB / 0.5598 GB, free: 2.816 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001191/0.5909, allocations: 391.8 kB / 0.5602 GB, free: 2.48 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.5912, allocations: 71.92 kB / 0.5602 GB, free: 2.41 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5912, allocations: 0 / 0.5602 GB, free: 2.41 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.5913, allocations: 43.98 kB / 0.5603 GB, free: 2.367 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.5918, allocations: 55.86 kB / 0.5603 GB, free: 2.312 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.5924, allocations: 220.1 kB / 0.5605 GB, free: 2.062 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.5928, allocations: 0.7202 MB / 0.5612 GB, free: 1.316 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.593, allocations: 27.42 kB / 0.5613 GB, free: 1.289 MB / 395.1 MB Notification: Performance of SimCode: time 2.866e-06/0.593, allocations: 0 / 0.5613 GB, free: 1.289 MB / 395.1 MB Notification: Performance of Templates: time 0.00772/0.6007, allocations: 2.709 MB / 0.5639 GB, free: 14.59 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches