Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 177.8 kB / 8.358 MB, free: 0.7188 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.994/1.994, 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.001604/0.001603, allocations: 82.8 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.2867/0.2867, allocations: 43.48 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.281e-05/2.283e-05, allocations: 4 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3956, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.5567, allocations: 86.96 MB / 0.5508 GB, free: 12.33 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.557, allocations: 67.97 kB / 0.5509 GB, free: 12.26 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02472/0.5817, allocations: 5.298 MB / 0.5561 GB, free: 6.969 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5818, allocations: 0 / 0.5561 GB, free: 6.969 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.5818, allocations: 0 / 0.5561 GB, free: 6.969 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.0006046/0.5824, allocations: 394.2 kB / 0.5565 GB, free: 6.539 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.5825, allocations: 8.031 kB / 0.5565 GB, free: 6.531 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.5826, allocations: 11.91 kB / 0.5565 GB, free: 6.52 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.583, allocations: 210.5 kB / 0.5567 GB, free: 6.277 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.583, allocations: 4 kB / 0.5567 GB, free: 6.273 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.5831, allocations: 11.91 kB / 0.5567 GB, free: 6.262 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/0.5832, allocations: 19.92 kB / 0.5567 GB, free: 6.242 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.5833, allocations: 45.69 kB / 0.5568 GB, free: 6.191 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5833, allocations: 0 / 0.5568 GB, free: 6.191 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.5834, allocations: 0 / 0.5568 GB, free: 6.191 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.5834, allocations: 7.938 kB / 0.5568 GB, free: 6.184 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.5839, allocations: 269.4 kB / 0.557 GB, free: 5.883 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.584, allocations: 54.64 kB / 0.5571 GB, free: 5.82 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.5841, allocations: 20.97 kB / 0.5571 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.5841, allocations: 7.984 kB / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.5843, allocations: 63.41 kB / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.554e-06/0.5844, allocations: 0 / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006013/0.585, allocations: 145.2 kB / 0.5573 GB, free: 5.566 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.585, allocations: 55.41 kB / 0.5573 GB, free: 5.5 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.5853, allocations: 157.4 kB / 0.5575 GB, free: 5.34 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.5853, allocations: 25.7 kB / 0.5575 GB, free: 5.309 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.5854, allocations: 162.6 kB / 0.5577 GB, free: 5.148 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.5855, allocations: 23.64 kB / 0.5577 GB, free: 5.125 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5855, allocations: 0 / 0.5577 GB, free: 5.125 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5857, allocations: 318.8 kB / 0.558 GB, free: 4.805 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.5857, allocations: 16 kB / 0.558 GB, free: 4.789 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.5858, allocations: 33.72 kB / 0.5581 GB, free: 4.75 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.419e-05/0.5859, allocations: 19.98 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5859, allocations: 0 / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002316/0.5862, allocations: 85.62 kB / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5862, allocations: 7.984 kB / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5862, allocations: 0 / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5862, allocations: 0 / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.5864, allocations: 16 kB / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5864, allocations: 4.031 kB / 0.5582 GB, free: 4.613 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.426e-05/0.5865, allocations: 4 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.5866, allocations: 7.938 kB / 0.5582 GB, free: 4.602 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 0.0001041/0.5867, allocations: 112.9 kB / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.5867, allocations: 11.81 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.5871, allocations: 110.2 kB / 0.5584 GB, free: 4.355 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5871, allocations: 0 / 0.5584 GB, free: 4.355 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5871, allocations: 4.281 kB / 0.5584 GB, free: 4.352 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5871, allocations: 4 kB / 0.5584 GB, free: 4.348 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.5877, allocations: 367.9 kB / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5878, allocations: 3.938 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.5878, allocations: 15.92 kB / 0.5588 GB, free: 3.922 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.5879, allocations: 0 / 0.5588 GB, free: 3.922 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.5879, allocations: 4 kB / 0.5588 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5879, allocations: 0 / 0.5588 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5879, allocations: 3.984 kB / 0.5588 GB, free: 3.914 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.5883, allocations: 217.9 kB / 0.559 GB, free: 3.676 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.5884, allocations: 88.92 kB / 0.5591 GB, free: 3.57 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.5884, allocations: 7.984 kB / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.5886, allocations: 0 / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.5886, allocations: 15.94 kB / 0.5591 GB, free: 3.547 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.5886, allocations: 8 kB / 0.5591 GB, free: 3.539 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.5888, allocations: 124.1 kB / 0.5592 GB, free: 3.418 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5888, allocations: 0 / 0.5592 GB, free: 3.418 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004181/0.5893, allocations: 31.92 kB / 0.5593 GB, free: 3.387 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.00119/0.5905, allocations: 407.9 kB / 0.5597 GB, free: 3.031 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.5907, allocations: 44 kB / 0.5597 GB, free: 2.988 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.5907, allocations: 4 kB / 0.5597 GB, free: 2.984 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.04e-05/0.5908, allocations: 27.94 kB / 0.5597 GB, free: 2.957 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.5913, allocations: 28.7 kB / 0.5598 GB, free: 2.93 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.5918, allocations: 179.9 kB / 0.5599 GB, free: 2.715 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.5922, allocations: 0.7041 MB / 0.5606 GB, free: 1.984 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.621e-05/0.5923, allocations: 15.44 kB / 0.5606 GB, free: 1.969 MB / 395.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5923, allocations: 0 / 0.5606 GB, free: 1.969 MB / 395.1 MB Notification: Performance of Templates: time 0.0059/0.5982, allocations: 1.893 MB / 0.5625 GB, free: 84 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches