Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002144/0.002144, allocations: 180.3 kB / 8.365 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 2.011/2.011, 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.001122/0.001121, allocations: 88.03 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.3055/0.3055, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.224e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3908, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.5507, allocations: 86.81 MB / 0.5507 GB, free: 12.5 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.5511, allocations: 71.97 kB / 0.5508 GB, free: 12.43 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.023/0.5741, allocations: 5.191 MB / 0.5558 GB, free: 7.242 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5741, allocations: 0 / 0.5558 GB, free: 7.242 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.5742, allocations: 4 kB / 0.5558 GB, free: 7.238 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005315/0.5747, allocations: 382.2 kB / 0.5562 GB, free: 6.82 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5748, allocations: 8.031 kB / 0.5562 GB, free: 6.812 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.5748, allocations: 11.91 kB / 0.5562 GB, free: 6.801 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.5752, allocations: 225.5 kB / 0.5564 GB, free: 6.543 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.5753, allocations: 4 kB / 0.5564 GB, free: 6.539 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.5753, allocations: 0 / 0.5564 GB, free: 6.539 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.123e-05/0.5754, allocations: 12 kB / 0.5564 GB, free: 6.527 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5755, allocations: 45.67 kB / 0.5565 GB, free: 6.477 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5755, allocations: 3.938 kB / 0.5565 GB, free: 6.473 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.5755, allocations: 0 / 0.5565 GB, free: 6.473 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5756, allocations: 4 kB / 0.5565 GB, free: 6.469 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.5758, allocations: 166.2 kB / 0.5566 GB, free: 6.27 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.5759, allocations: 46.56 kB / 0.5567 GB, free: 6.215 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.576, allocations: 16.86 kB / 0.5567 GB, free: 6.195 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.576, allocations: 0 / 0.5567 GB, free: 6.195 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.5762, allocations: 63.48 kB / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/0.5762, allocations: 0 / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.000259/0.5765, allocations: 81.58 kB / 0.5568 GB, free: 6.035 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.5765, allocations: 55.41 kB / 0.5569 GB, free: 5.969 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.5768, allocations: 162.2 kB / 0.5571 GB, free: 5.805 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.5768, allocations: 25.7 kB / 0.5571 GB, free: 5.773 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.5769, allocations: 166.5 kB / 0.5572 GB, free: 5.609 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.577, allocations: 15.75 kB / 0.5573 GB, free: 5.594 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.577, allocations: 0 / 0.5573 GB, free: 5.594 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5771, allocations: 318.8 kB / 0.5576 GB, free: 5.273 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.5772, allocations: 12 kB / 0.5576 GB, free: 5.262 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.5772, allocations: 25.72 kB / 0.5576 GB, free: 5.23 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.857e-05/0.5773, allocations: 15.98 kB / 0.5576 GB, free: 5.215 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5773, allocations: 0 / 0.5576 GB, free: 5.215 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001691/0.5775, allocations: 69.58 kB / 0.5577 GB, free: 5.141 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5775, allocations: 8 kB / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5776, allocations: 0 / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5776, allocations: 0 / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.5777, allocations: 16.03 kB / 0.5577 GB, free: 5.117 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5777, allocations: 4 kB / 0.5577 GB, free: 5.113 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.5778, allocations: 4.109 kB / 0.5577 GB, free: 5.109 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.5779, allocations: 8 kB / 0.5577 GB, free: 5.102 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 (7): * Single equations (assignments): 7 * 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.613e-05/0.578, allocations: 101 kB / 0.5578 GB, free: 4.996 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.578, allocations: 19.77 kB / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.5783, allocations: 90.02 kB / 0.5579 GB, free: 4.883 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.5783, allocations: 0 / 0.5579 GB, free: 4.883 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.5783, allocations: 0 / 0.5579 GB, free: 4.883 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5783, allocations: 4 kB / 0.5579 GB, free: 4.879 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.5785, allocations: 162.2 kB / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5785, allocations: 0 / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.5786, allocations: 4 kB / 0.5581 GB, free: 4.68 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5786, allocations: 0 / 0.5581 GB, free: 4.68 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.5786, allocations: 11.92 kB / 0.5581 GB, free: 4.668 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5786, allocations: 4 kB / 0.5581 GB, free: 4.664 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5787, allocations: 0 / 0.5581 GB, free: 4.664 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.5789, allocations: 109 kB / 0.5582 GB, free: 4.539 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.579, allocations: 92.91 kB / 0.5583 GB, free: 4.43 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.579, allocations: 8 kB / 0.5583 GB, free: 4.422 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.5791, allocations: 3.953 kB / 0.5583 GB, free: 4.418 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.5792, allocations: 11.92 kB / 0.5583 GB, free: 4.406 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.5792, allocations: 0 / 0.5583 GB, free: 4.406 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.5794, allocations: 144.1 kB / 0.5584 GB, free: 4.266 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5794, allocations: 3.938 kB / 0.5584 GB, free: 4.262 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.5797, allocations: 19.94 kB / 0.5585 GB, free: 4.242 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001028/0.5807, allocations: 340.1 kB / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.5809, allocations: 43.88 kB / 0.5588 GB, free: 3.902 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5809, allocations: 0 / 0.5588 GB, free: 3.902 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.581, allocations: 19.98 kB / 0.5589 GB, free: 3.883 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.5814, allocations: 27.34 kB / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.5818, allocations: 177.9 kB / 0.559 GB, free: 3.656 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.5822, allocations: 0.7002 MB / 0.5597 GB, free: 2.93 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.5823, allocations: 11.44 kB / 0.5597 GB, free: 2.918 MB / 395.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5823, allocations: 0 / 0.5597 GB, free: 2.918 MB / 395.1 MB Notification: Performance of Templates: time 0.005015/0.5873, allocations: 1.697 MB / 0.5614 GB, free: 1.227 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches