Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009856/0.0009859, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007221/0.0007221, allocations: 81.44 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3526/0.3526, allocations: 43.56 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 12 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 58.85 MB / 491.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3297/0.4688, allocations: 88.75 MB / 0.5666 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.4691, allocations: 75.95 kB / 0.5667 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.4807, allocations: 4.234 MB / 0.5708 GB, free: 9.246 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4807, allocations: 0 / 0.5708 GB, free: 9.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.4807, allocations: 4 kB / 0.5708 GB, free: 9.242 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006244/0.4814, allocations: 493.3 kB / 0.5713 GB, free: 8.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4814, allocations: 12.03 kB / 0.5713 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.4815, allocations: 16.75 kB / 0.5713 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.4818, allocations: 232.3 kB / 0.5715 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4818, allocations: 8.375 kB / 0.5715 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.4818, allocations: 4.375 kB / 0.5715 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.4821, allocations: 112.8 kB / 0.5717 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4821, allocations: 192 / 0.5717 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4821, allocations: 7.938 kB / 0.5717 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4821, allocations: 0 / 0.5717 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.4823, allocations: 63.89 kB / 0.5717 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.4829, allocations: 0.5116 MB / 0.5722 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.4832, allocations: 86.67 kB / 0.5723 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4833, allocations: 48.83 kB / 0.5723 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.4833, allocations: 0 / 0.5723 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.4835, allocations: 87.31 kB / 0.5724 GB, free: 7.398 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.4835, allocations: 0 / 0.5724 GB, free: 7.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003855/0.4839, allocations: 153.5 kB / 0.5726 GB, free: 7.242 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.4839, allocations: 51.41 kB / 0.5726 GB, free: 7.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.4841, allocations: 195.4 kB / 0.5728 GB, free: 6.973 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4842, allocations: 29.7 kB / 0.5728 GB, free: 6.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.4842, allocations: 120 kB / 0.573 GB, free: 6.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.4843, allocations: 27.64 kB / 0.573 GB, free: 6.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.4843, allocations: 7.938 kB / 0.573 GB, free: 6.781 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4844, allocations: 326.8 kB / 0.5733 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.4845, allocations: 31.98 kB / 0.5733 GB, free: 6.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.4846, allocations: 68.48 kB / 0.5734 GB, free: 6.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.4848, allocations: 113.2 kB / 0.5735 GB, free: 6.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4848, allocations: 0 / 0.5735 GB, free: 6.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002586/0.4851, allocations: 145.7 kB / 0.5736 GB, free: 6.066 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4851, allocations: 4 kB / 0.5736 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.4851, allocations: 4.938 kB / 0.5737 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4851, allocations: 128 / 0.5737 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.4852, allocations: 27.98 kB / 0.5737 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4853, allocations: 0 / 0.5737 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.4853, allocations: 19.89 kB / 0.5737 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4854, allocations: 7.938 kB / 0.5737 GB, free: 6.004 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked 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 9.835e-05/0.4855, allocations: 125.8 kB / 0.5738 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.4855, allocations: 15.81 kB / 0.5738 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.4858, allocations: 135 kB / 0.574 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4858, allocations: 0 / 0.574 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4858, allocations: 2.562 kB / 0.574 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4858, allocations: 3.984 kB / 0.574 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.486, allocations: 221.5 kB / 0.5742 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.486, allocations: 0 / 0.5742 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.064e-05/0.4861, allocations: 15.98 kB / 0.5742 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4861, allocations: 0 / 0.5742 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4861, allocations: 0 / 0.5742 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4861, allocations: 8 kB / 0.5742 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.4861, allocations: 3.984 kB / 0.5742 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.4865, allocations: 197.3 kB / 0.5744 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.4866, allocations: 89.05 kB / 0.5745 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.4866, allocations: 8.047 kB / 0.5745 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.4867, allocations: 12 kB / 0.5745 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.4867, allocations: 7.922 kB / 0.5745 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4867, allocations: 8.281 kB / 0.5745 GB, free: 5.074 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.4869, allocations: 141.1 kB / 0.5747 GB, free: 4.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4869, allocations: 3.938 kB / 0.5747 GB, free: 4.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.4871, allocations: 43.91 kB / 0.5747 GB, free: 4.891 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0008513/0.488, allocations: 426.8 kB / 0.5751 GB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.4882, allocations: 83.89 kB / 0.5752 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4882, allocations: 0 / 0.5752 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.4883, allocations: 52.03 kB / 0.5752 GB, free: 4.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.4886, allocations: 31.83 kB / 0.5753 GB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/0.4892, allocations: 337.8 kB / 0.5756 GB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.4895, allocations: 0.7087 MB / 0.5763 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.4895, allocations: 23.42 kB / 0.5763 GB, free: 3.305 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4896, allocations: 0 / 0.5763 GB, free: 3.305 MB / 394.7 MB Notification: Performance of Templates: time 0.003787/0.4933, allocations: 2.173 MB / 0.5784 GB, free: 1.137 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches