Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002159/0.002158, allocations: 181.9 kB / 8.367 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 1.977/1.977, 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.001084/0.001084, allocations: 91.16 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.2899/0.2899, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.326e-05/2.319e-05, allocations: 8.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3923, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.5532, allocations: 86.93 MB / 0.5508 GB, free: 12.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.5535, allocations: 75.95 kB / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02301/0.5765, allocations: 5.126 MB / 0.5559 GB, free: 7.188 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5766, allocations: 0 / 0.5559 GB, free: 7.188 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.5766, allocations: 3.938 kB / 0.5559 GB, free: 7.184 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.0005754/0.5772, allocations: 386.2 kB / 0.5562 GB, free: 6.762 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.5773, allocations: 12.03 kB / 0.5563 GB, free: 6.75 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.5773, allocations: 7.906 kB / 0.5563 GB, free: 6.742 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.5777, allocations: 215.4 kB / 0.5565 GB, free: 6.488 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.5778, allocations: 0 / 0.5565 GB, free: 6.488 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.5778, allocations: 4 kB / 0.5565 GB, free: 6.484 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.774e-05/0.5779, allocations: 15.94 kB / 0.5565 GB, free: 6.469 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.578, allocations: 53.67 kB / 0.5565 GB, free: 6.41 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5781, allocations: 0 / 0.5565 GB, free: 6.41 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.5781, allocations: 7.984 kB / 0.5565 GB, free: 6.402 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5781, allocations: 3.938 kB / 0.5566 GB, free: 6.398 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.5786, allocations: 265.4 kB / 0.5568 GB, free: 6.102 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.5787, allocations: 54.62 kB / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.5788, allocations: 16.98 kB / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.5788, allocations: 0 / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.579, allocations: 71.39 kB / 0.5569 GB, free: 5.938 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.579, allocations: 4 kB / 0.5569 GB, free: 5.934 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005669/0.5796, allocations: 141.3 kB / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.5796, allocations: 51.41 kB / 0.5571 GB, free: 5.727 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.5798, allocations: 155.2 kB / 0.5573 GB, free: 5.562 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.5799, allocations: 25.7 kB / 0.5573 GB, free: 5.531 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.58, allocations: 162.5 kB / 0.5575 GB, free: 5.371 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.58, allocations: 23.7 kB / 0.5575 GB, free: 5.348 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.58, allocations: 0 / 0.5575 GB, free: 5.348 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5802, allocations: 318.8 kB / 0.5578 GB, free: 5.027 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.5803, allocations: 16 kB / 0.5578 GB, free: 5.012 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.5803, allocations: 33.7 kB / 0.5578 GB, free: 4.973 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.853e-05/0.5804, allocations: 20 kB / 0.5579 GB, free: 4.953 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5804, allocations: 0 / 0.5579 GB, free: 4.953 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002138/0.5807, allocations: 93.5 kB / 0.5579 GB, free: 4.855 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.5807, allocations: 4 kB / 0.5579 GB, free: 4.852 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5807, allocations: 0 / 0.5579 GB, free: 4.852 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.5808, allocations: 4.031 kB / 0.5579 GB, free: 4.848 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5809, allocations: 19.98 kB / 0.558 GB, free: 4.828 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.5809, allocations: 0 / 0.558 GB, free: 4.828 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.518e-05/0.581, allocations: 4 kB / 0.558 GB, free: 4.824 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.5811, allocations: 3.953 kB / 0.558 GB, free: 4.82 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.474e-05/0.5812, allocations: 112.9 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.5812, allocations: 7.906 kB / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.5815, allocations: 106.2 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5815, allocations: 4 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5815, allocations: 288 / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5816, allocations: 0 / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.5821, allocations: 367.9 kB / 0.5585 GB, free: 4.172 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5822, allocations: 3.938 kB / 0.5585 GB, free: 4.168 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.5822, allocations: 15.92 kB / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.5823, allocations: 4 kB / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.5823, allocations: 0 / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5823, allocations: 4.031 kB / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5823, allocations: 0 / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.5826, allocations: 217.8 kB / 0.5588 GB, free: 3.906 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.5827, allocations: 85.02 kB / 0.5589 GB, free: 3.805 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.5827, allocations: 7.984 kB / 0.5589 GB, free: 3.797 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.5829, allocations: 0 / 0.5589 GB, free: 3.797 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.5829, allocations: 19.94 kB / 0.5589 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.5829, allocations: 7.938 kB / 0.5589 GB, free: 3.77 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.5831, allocations: 120.5 kB / 0.559 GB, free: 3.652 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5831, allocations: 0 / 0.559 GB, free: 3.652 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.5835, allocations: 35.94 kB / 0.559 GB, free: 3.617 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.001167/0.5847, allocations: 405 kB / 0.5594 GB, free: 3.266 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.5849, allocations: 48 kB / 0.5595 GB, free: 3.219 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5849, allocations: 0 / 0.5595 GB, free: 3.219 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.585, allocations: 36 kB / 0.5595 GB, free: 3.184 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.5854, allocations: 27.83 kB / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.5859, allocations: 163.6 kB / 0.5597 GB, free: 2.965 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.5862, allocations: 0.7002 MB / 0.5604 GB, free: 2.238 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.5863, allocations: 19.44 kB / 0.5604 GB, free: 2.219 MB / 395.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5863, allocations: 64 / 0.5604 GB, free: 2.219 MB / 395.1 MB Notification: Performance of Templates: time 0.005322/0.5916, allocations: 1.854 MB / 0.5622 GB, free: 380 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches