Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002314/0.002314, allocations: 179.2 kB / 8.363 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.316/2.316, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001089/0.001089, allocations: 88.19 kB / 262.1 MB, free: 13.86 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.329/0.329, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.362e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.394, allocations: 58.86 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.5591, allocations: 86.97 MB / 0.5508 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.5594, allocations: 71.97 kB / 0.5509 GB, free: 12.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02434/0.5838, allocations: 5.283 MB / 0.5561 GB, free: 7.004 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5839, allocations: 3.938 kB / 0.5561 GB, free: 7 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.5839, allocations: 4 kB / 0.5561 GB, free: 6.996 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.0006307/0.5845, allocations: 390.2 kB / 0.5564 GB, free: 6.57 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.5846, allocations: 12.03 kB / 0.5565 GB, free: 6.559 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.5847, allocations: 11.91 kB / 0.5565 GB, free: 6.547 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.5851, allocations: 214.7 kB / 0.5567 GB, free: 6.297 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.5851, allocations: 4 kB / 0.5567 GB, free: 6.293 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.5852, allocations: 3.906 kB / 0.5567 GB, free: 6.289 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.765e-05/0.5853, allocations: 16 kB / 0.5567 GB, free: 6.273 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.5854, allocations: 49.67 kB / 0.5567 GB, free: 6.219 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5854, allocations: 0 / 0.5567 GB, free: 6.219 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.5855, allocations: 4 kB / 0.5567 GB, free: 6.215 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5855, allocations: 0 / 0.5567 GB, free: 6.215 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.586, allocations: 269.4 kB / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.5861, allocations: 54.62 kB / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.5862, allocations: 16.98 kB / 0.5571 GB, free: 5.832 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.5862, allocations: 0 / 0.5571 GB, free: 5.832 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.5864, allocations: 67.39 kB / 0.5571 GB, free: 5.754 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 4.718e-06/0.5864, allocations: 0 / 0.5571 GB, free: 5.754 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006401/0.5871, allocations: 153.1 kB / 0.5573 GB, free: 5.598 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.5871, allocations: 51.41 kB / 0.5573 GB, free: 5.535 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.5874, allocations: 153.4 kB / 0.5575 GB, free: 5.379 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.5874, allocations: 29.7 kB / 0.5575 GB, free: 5.344 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.5875, allocations: 162.6 kB / 0.5577 GB, free: 5.184 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.5876, allocations: 23.66 kB / 0.5577 GB, free: 5.16 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.5876, allocations: 4 kB / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5877, allocations: 314.8 kB / 0.558 GB, free: 4.84 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.5878, allocations: 20 kB / 0.558 GB, free: 4.82 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.588, allocations: 37.59 kB / 0.558 GB, free: 4.777 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.607e-05/0.5881, allocations: 19.98 kB / 0.5581 GB, free: 4.758 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5881, allocations: 0 / 0.5581 GB, free: 4.758 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002185/0.5883, allocations: 81.67 kB / 0.5581 GB, free: 4.672 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5883, allocations: 8.031 kB / 0.5581 GB, free: 4.664 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5884, allocations: 4 kB / 0.5582 GB, free: 4.66 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5884, allocations: 0 / 0.5582 GB, free: 4.66 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.5886, allocations: 19.92 kB / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5886, allocations: 0 / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.534e-05/0.5887, allocations: 4.188 kB / 0.5582 GB, free: 4.637 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.5887, allocations: 7.953 kB / 0.5582 GB, free: 4.629 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.0001022/0.5888, allocations: 105 kB / 0.5583 GB, free: 4.52 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.5889, allocations: 23.8 kB / 0.5583 GB, free: 4.496 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.5892, allocations: 102.2 kB / 0.5584 GB, free: 4.387 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5892, allocations: 4 kB / 0.5584 GB, free: 4.383 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5892, allocations: 0 / 0.5584 GB, free: 4.383 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.5893, allocations: 3.984 kB / 0.5584 GB, free: 4.379 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.5899, allocations: 371.8 kB / 0.5588 GB, free: 3.969 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5899, allocations: 0 / 0.5588 GB, free: 3.969 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.608e-05/0.59, allocations: 8 kB / 0.5588 GB, free: 3.961 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.59, allocations: 7.984 kB / 0.5588 GB, free: 3.953 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.59, allocations: 4.031 kB / 0.5588 GB, free: 3.949 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.59, allocations: 3.984 kB / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.59, allocations: 4 kB / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.5904, allocations: 210.1 kB / 0.559 GB, free: 3.711 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.5905, allocations: 92.92 kB / 0.5591 GB, free: 3.602 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.5905, allocations: 384 / 0.5591 GB, free: 3.602 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.5907, allocations: 19.92 kB / 0.5591 GB, free: 3.582 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.5907, allocations: 7.953 kB / 0.5591 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.5907, allocations: 0 / 0.5591 GB, free: 3.574 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.5909, allocations: 136 kB / 0.5592 GB, free: 3.441 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5909, allocations: 0 / 0.5592 GB, free: 3.441 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.5913, allocations: 23.94 kB / 0.5593 GB, free: 3.418 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.001218/0.5926, allocations: 395.2 kB / 0.5596 GB, free: 3.074 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.5928, allocations: 51.92 kB / 0.5597 GB, free: 3.023 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5928, allocations: 4.062 kB / 0.5597 GB, free: 3.02 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.204e-05/0.5929, allocations: 24 kB / 0.5597 GB, free: 2.996 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.5933, allocations: 28.52 kB / 0.5597 GB, free: 2.969 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.5939, allocations: 179.9 kB / 0.5599 GB, free: 2.754 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.5942, allocations: 0.7041 MB / 0.5606 GB, free: 2.023 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.5943, allocations: 23.48 kB / 0.5606 GB, free: 2 MB / 395.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5943, allocations: 4 kB / 0.5606 GB, free: 1.996 MB / 395.1 MB Notification: Performance of Templates: time 0.005844/0.6002, allocations: 1.885 MB / 0.5625 GB, free: 120 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches