Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002363/0.002362, 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.025/2.025, 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.001211/0.001211, allocations: 88.33 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.4157/0.4157, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.247e-05, allocations: 8.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3928, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.5575, allocations: 86.96 MB / 0.5508 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5579, allocations: 71.97 kB / 0.5509 GB, free: 12.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02484/0.5827, allocations: 5.326 MB / 0.5561 GB, free: 6.957 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5828, allocations: 0 / 0.5561 GB, free: 6.957 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.5828, allocations: 7.938 kB / 0.5561 GB, free: 6.949 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.0005801/0.5834, allocations: 390.2 kB / 0.5565 GB, free: 6.523 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5835, allocations: 12.03 kB / 0.5565 GB, free: 6.512 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.5835, allocations: 11.89 kB / 0.5565 GB, free: 6.5 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.584, allocations: 221.6 kB / 0.5567 GB, free: 6.246 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.584, allocations: 0 / 0.5567 GB, free: 6.246 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.584, allocations: 4 kB / 0.5567 GB, free: 6.242 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.426e-05/0.5841, allocations: 15.98 kB / 0.5567 GB, free: 6.227 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.5843, allocations: 53.67 kB / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5843, allocations: 4 kB / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.5843, allocations: 0 / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5843, allocations: 4 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.5848, allocations: 269.3 kB / 0.5571 GB, free: 5.859 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.585, allocations: 50.69 kB / 0.5571 GB, free: 5.801 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.5851, allocations: 16.98 kB / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.5851, allocations: 4 kB / 0.5571 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.5853, allocations: 67.33 kB / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.5853, allocations: 0 / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006088/0.5859, allocations: 145.2 kB / 0.5573 GB, free: 5.551 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.586, allocations: 51.41 kB / 0.5574 GB, free: 5.488 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.5862, allocations: 174.2 kB / 0.5575 GB, free: 5.312 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.5863, allocations: 25.7 kB / 0.5576 GB, free: 5.281 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.5864, allocations: 166.6 kB / 0.5577 GB, free: 5.117 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.5864, allocations: 19.72 kB / 0.5577 GB, free: 5.098 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.5864, allocations: 0 / 0.5577 GB, free: 5.098 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5866, allocations: 318.8 kB / 0.558 GB, free: 4.777 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.5866, allocations: 19.94 kB / 0.5581 GB, free: 4.758 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.636e-05/0.5867, allocations: 29.72 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.5868, allocations: 23.98 kB / 0.5581 GB, free: 4.699 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5868, allocations: 4 kB / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002234/0.5871, allocations: 85.58 kB / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5871, allocations: 4 kB / 0.5582 GB, free: 4.602 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5871, allocations: 0 / 0.5582 GB, free: 4.602 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5871, allocations: 3.938 kB / 0.5582 GB, free: 4.598 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.5873, allocations: 19.98 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.5873, allocations: 0 / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/0.5874, allocations: 4 kB / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.5874, allocations: 3.953 kB / 0.5582 GB, free: 4.57 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.966e-05/0.5875, allocations: 113 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.5876, allocations: 11.89 kB / 0.5584 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.5879, allocations: 106.2 kB / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.588, allocations: 4 kB / 0.5585 GB, free: 4.328 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.588, allocations: 0 / 0.5585 GB, free: 4.328 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.588, allocations: 4.453 kB / 0.5585 GB, free: 4.324 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006041/0.5886, allocations: 383.9 kB / 0.5588 GB, free: 3.902 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.5886, allocations: 8.031 kB / 0.5588 GB, free: 3.895 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.5887, allocations: 19.92 kB / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5887, allocations: 0 / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.5888, allocations: 0 / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5888, allocations: 4 kB / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5888, allocations: 0 / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.5891, allocations: 213.9 kB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.5892, allocations: 93 kB / 0.5592 GB, free: 3.527 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.5892, allocations: 4 kB / 0.5592 GB, free: 3.523 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5894, allocations: 0 / 0.5592 GB, free: 3.523 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.5894, allocations: 15.88 kB / 0.5592 GB, free: 3.508 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.5894, allocations: 7.938 kB / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.5896, allocations: 136.1 kB / 0.5593 GB, free: 3.367 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5896, allocations: 4 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.59, allocations: 31.89 kB / 0.5593 GB, free: 3.332 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.001173/0.5912, allocations: 399.7 kB / 0.5597 GB, free: 2.984 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.5914, allocations: 47.94 kB / 0.5598 GB, free: 2.938 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5915, allocations: 0 / 0.5598 GB, free: 2.938 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.399e-05/0.5916, allocations: 31.92 kB / 0.5598 GB, free: 2.906 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.592, allocations: 27.78 kB / 0.5598 GB, free: 2.879 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.5925, allocations: 195 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.5929, allocations: 0.712 MB / 0.5607 GB, free: 1.91 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.593, allocations: 15.44 kB / 0.5607 GB, free: 1.895 MB / 395.1 MB Notification: Performance of SimCode: time 8.32e-07/0.593, allocations: 0 / 0.5607 GB, free: 1.895 MB / 395.1 MB Notification: Performance of Templates: time 0.005591/0.5986, allocations: 1.917 MB / 0.5626 GB, free: 15.98 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches