Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002166/0.002165, allocations: 179.4 kB / 8.364 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 1.958/1.958, 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.001481/0.00148, allocations: 97 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.2962/0.2962, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.154e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.3993, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.5614, allocations: 86.76 MB / 0.5506 GB, free: 12.55 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.5617, allocations: 71.97 kB / 0.5507 GB, free: 12.48 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02256/0.5843, allocations: 5.067 MB / 0.5556 GB, free: 7.422 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.5844, allocations: 4 kB / 0.5557 GB, free: 7.418 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.5844, allocations: 0 / 0.5557 GB, free: 7.418 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.0005911/0.585, allocations: 386.2 kB / 0.556 GB, free: 6.996 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.585, allocations: 8.031 kB / 0.556 GB, free: 6.988 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.5851, allocations: 7.906 kB / 0.556 GB, free: 6.98 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.5855, allocations: 218.6 kB / 0.5562 GB, free: 6.727 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5855, allocations: 0 / 0.5562 GB, free: 6.727 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.5856, allocations: 0 / 0.5562 GB, free: 6.727 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.485e-05/0.5857, allocations: 19.98 kB / 0.5563 GB, free: 6.707 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.5858, allocations: 45.69 kB / 0.5563 GB, free: 6.656 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5858, allocations: 0 / 0.5563 GB, free: 6.656 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5858, allocations: 0 / 0.5563 GB, free: 6.656 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5858, allocations: 4 kB / 0.5563 GB, free: 6.652 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.5861, allocations: 162.2 kB / 0.5565 GB, free: 6.457 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.5862, allocations: 46.56 kB / 0.5565 GB, free: 6.402 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.5863, allocations: 16.86 kB / 0.5565 GB, free: 6.383 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.5863, allocations: 4 kB / 0.5565 GB, free: 6.379 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.5865, allocations: 71.39 kB / 0.5566 GB, free: 6.297 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.933e-06/0.5865, allocations: 0 / 0.5566 GB, free: 6.297 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002657/0.5868, allocations: 77.58 kB / 0.5567 GB, free: 6.215 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.5868, allocations: 51.41 kB / 0.5567 GB, free: 6.152 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.5871, allocations: 149.4 kB / 0.5569 GB, free: 6 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5871, allocations: 25.7 kB / 0.5569 GB, free: 5.969 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.5872, allocations: 162.5 kB / 0.557 GB, free: 5.809 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.5872, allocations: 15.84 kB / 0.5571 GB, free: 5.793 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.5873, allocations: 0 / 0.5571 GB, free: 5.793 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5874, allocations: 314.8 kB / 0.5574 GB, free: 5.477 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.5875, allocations: 15.98 kB / 0.5574 GB, free: 5.461 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/0.5875, allocations: 29.7 kB / 0.5574 GB, free: 5.426 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.252e-05/0.5876, allocations: 12 kB / 0.5574 GB, free: 5.414 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5876, allocations: 0 / 0.5574 GB, free: 5.414 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001661/0.5878, allocations: 73.53 kB / 0.5575 GB, free: 5.336 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5878, allocations: 4 kB / 0.5575 GB, free: 5.332 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5878, allocations: 4.031 kB / 0.5575 GB, free: 5.328 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5879, allocations: 7.938 kB / 0.5575 GB, free: 5.32 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.588, allocations: 12 kB / 0.5575 GB, free: 5.309 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.588, allocations: 0 / 0.5575 GB, free: 5.309 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.5881, allocations: 7.938 kB / 0.5575 GB, free: 5.301 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.5881, allocations: 3.984 kB / 0.5575 GB, free: 5.297 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 8.841e-05/0.5882, allocations: 105 kB / 0.5576 GB, free: 5.188 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.5882, allocations: 11.86 kB / 0.5576 GB, free: 5.176 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.5885, allocations: 98 kB / 0.5577 GB, free: 5.074 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.5885, allocations: 0 / 0.5577 GB, free: 5.074 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5885, allocations: 0 / 0.5577 GB, free: 5.074 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5885, allocations: 0 / 0.5577 GB, free: 5.074 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.5887, allocations: 170.3 kB / 0.5579 GB, free: 4.871 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5888, allocations: 4 kB / 0.5579 GB, free: 4.867 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.5888, allocations: 4 kB / 0.5579 GB, free: 4.863 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5888, allocations: 0 / 0.5579 GB, free: 4.863 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.5889, allocations: 7.953 kB / 0.5579 GB, free: 4.855 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5889, allocations: 0 / 0.5579 GB, free: 4.855 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5889, allocations: 0 / 0.5579 GB, free: 4.855 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.5891, allocations: 112.9 kB / 0.558 GB, free: 4.727 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.5892, allocations: 89 kB / 0.5581 GB, free: 4.621 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.5892, allocations: 4 kB / 0.5581 GB, free: 4.617 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.5893, allocations: 3.953 kB / 0.5581 GB, free: 4.613 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.5894, allocations: 8 kB / 0.5581 GB, free: 4.605 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.5894, allocations: 3.984 kB / 0.5581 GB, free: 4.602 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.5896, allocations: 128 kB / 0.5582 GB, free: 4.477 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5896, allocations: 7.938 kB / 0.5582 GB, free: 4.469 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.5899, allocations: 20 kB / 0.5583 GB, free: 4.449 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.001046/0.5909, allocations: 350.8 kB / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.5911, allocations: 35.98 kB / 0.5586 GB, free: 4.105 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5911, allocations: 4 kB / 0.5586 GB, free: 4.102 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.733e-05/0.5912, allocations: 24 kB / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.5915, allocations: 24.03 kB / 0.5587 GB, free: 4.059 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.592, allocations: 154.7 kB / 0.5588 GB, free: 3.879 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.5923, allocations: 0.7001 MB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.5924, allocations: 19.44 kB / 0.5595 GB, free: 3.133 MB / 395.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5924, allocations: 0 / 0.5595 GB, free: 3.133 MB / 395.1 MB Notification: Performance of Templates: time 0.004999/0.5974, allocations: 1.674 MB / 0.5612 GB, free: 1.465 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:_D_cse1,_D_whenCondition1,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.timeEvents,t_new.timeScale,t_new.timeScaled,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time