Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002345/0.002345, allocations: 178.4 kB / 8.362 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.155/2.155, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.001122, allocations: 90.38 kB / 262.1 MB, free: 13.88 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.4111/0.4111, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.044e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3938, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5574, allocations: 87 MB / 0.5509 GB, free: 12.3 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.5578, allocations: 71.97 kB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02708/0.5849, allocations: 5.905 MB / 0.5567 GB, free: 6.328 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5849, allocations: 0 / 0.5567 GB, free: 6.328 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.5849, allocations: 4 kB / 0.5567 GB, free: 6.324 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006506/0.5856, allocations: 406.1 kB / 0.5571 GB, free: 5.883 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5857, allocations: 12.03 kB / 0.5571 GB, free: 5.871 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.5858, allocations: 15.81 kB / 0.5571 GB, free: 5.855 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.5862, allocations: 234.5 kB / 0.5574 GB, free: 5.586 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.5863, allocations: 4 kB / 0.5574 GB, free: 5.582 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.5863, allocations: 7.984 kB / 0.5574 GB, free: 5.574 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001465/0.5865, allocations: 31.98 kB / 0.5574 GB, free: 5.543 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.5867, allocations: 57.67 kB / 0.5574 GB, free: 5.48 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.5867, allocations: 7.906 kB / 0.5575 GB, free: 5.473 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.5867, allocations: 3.938 kB / 0.5575 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5867, allocations: 0 / 0.5575 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.5874, allocations: 305.3 kB / 0.5578 GB, free: 5.133 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.5876, allocations: 70.75 kB / 0.5578 GB, free: 5.055 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.5877, allocations: 24.86 kB / 0.5578 GB, free: 5.027 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.5878, allocations: 4.141 kB / 0.5578 GB, free: 5.023 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.588, allocations: 75.41 kB / 0.5579 GB, free: 4.938 MB / 395.1 MB Notification: Performance of pre-optimization done (n=8): time 2.505e-06/0.588, allocations: 0 / 0.5579 GB, free: 4.938 MB / 395.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007453/0.5887, allocations: 196.9 kB / 0.5581 GB, free: 4.738 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.5888, allocations: 59.41 kB / 0.5582 GB, free: 4.668 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.5892, allocations: 217.8 kB / 0.5584 GB, free: 4.445 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.5892, allocations: 29.7 kB / 0.5584 GB, free: 4.41 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.5893, allocations: 166.6 kB / 0.5586 GB, free: 4.246 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.5894, allocations: 39.55 kB / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.5894, allocations: 0 / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5896, allocations: 314.8 kB / 0.5589 GB, free: 3.891 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.5897, allocations: 28 kB / 0.5589 GB, free: 3.863 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.5898, allocations: 49.66 kB / 0.559 GB, free: 3.809 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.5899, allocations: 31.98 kB / 0.559 GB, free: 3.777 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5899, allocations: 0 / 0.559 GB, free: 3.777 MB / 395.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002964/0.5902, allocations: 113.5 kB / 0.5591 GB, free: 3.66 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5902, allocations: 4 kB / 0.5591 GB, free: 3.656 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5903, allocations: 0 / 0.5591 GB, free: 3.656 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.5903, allocations: 3.984 kB / 0.5591 GB, free: 3.652 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.5905, allocations: 20 kB / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.5905, allocations: 4.031 kB / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.5906, allocations: 11.94 kB / 0.5592 GB, free: 3.617 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.5907, allocations: 8 kB / 0.5592 GB, free: 3.609 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 (13): * Single equations (assignments): 13 * 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.0001115/0.5908, allocations: 108.9 kB / 0.5593 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.5909, allocations: 23.73 kB / 0.5593 GB, free: 3.473 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.5913, allocations: 148.6 kB / 0.5594 GB, free: 3.324 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5914, allocations: 0 / 0.5594 GB, free: 3.324 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5914, allocations: 4 kB / 0.5594 GB, free: 3.32 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5914, allocations: 4 kB / 0.5594 GB, free: 3.316 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.5922, allocations: 451.7 kB / 0.5599 GB, free: 2.828 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.5923, allocations: 8 kB / 0.5599 GB, free: 2.82 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.5924, allocations: 15.98 kB / 0.5599 GB, free: 2.805 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.5924, allocations: 0 / 0.5599 GB, free: 2.805 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.5924, allocations: 4 kB / 0.5599 GB, free: 2.801 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.5925, allocations: 3.938 kB / 0.5599 GB, free: 2.797 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5925, allocations: 7.984 kB / 0.5599 GB, free: 2.789 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.5929, allocations: 242.3 kB / 0.5601 GB, free: 2.527 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.593, allocations: 104.9 kB / 0.5602 GB, free: 2.406 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.5931, allocations: 3.984 kB / 0.5602 GB, free: 2.402 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.5932, allocations: 7.953 kB / 0.5602 GB, free: 2.395 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.5933, allocations: 15.98 kB / 0.5603 GB, free: 2.379 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.5933, allocations: 4 kB / 0.5603 GB, free: 2.375 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002539/0.5936, allocations: 179.2 kB / 0.5604 GB, free: 2.199 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5936, allocations: 0 / 0.5604 GB, free: 2.199 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004158/0.594, allocations: 31.94 kB / 0.5605 GB, free: 2.168 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 (13): * Single equations (assignments): 11 * 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.001221/0.5952, allocations: 403.6 kB / 0.5609 GB, free: 1.82 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.5956, allocations: 71.94 kB / 0.5609 GB, free: 1.75 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5956, allocations: 0 / 0.5609 GB, free: 1.75 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.5957, allocations: 43.98 kB / 0.561 GB, free: 1.707 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.5962, allocations: 28.16 kB / 0.561 GB, free: 1.676 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.5969, allocations: 267.6 kB / 0.5612 GB, free: 1.379 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.5974, allocations: 0.7236 MB / 0.5619 GB, free: 0.6289 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.5975, allocations: 27.36 kB / 0.562 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of SimCode: time 1.934e-06/0.5975, allocations: 0 / 0.562 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of Templates: time 0.006818/0.6043, allocations: 2.318 MB / 0.5642 GB, free: 14.29 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches