Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002584/0.002583, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2758/0.2758, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.291e-05, allocations: 11.98 kB / 425.3 MB, free: 23.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 58.85 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5788, allocations: 87.63 MB / 0.5584 GB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5792, allocations: 73.75 kB / 0.5584 GB, free: 15.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02492/0.6041, allocations: 5.398 MB / 0.5637 GB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6042, allocations: 0 / 0.5637 GB, free: 11.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.6042, allocations: 11.94 kB / 0.5637 GB, free: 11.38 MB / 378.7 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.0005927/0.6048, allocations: 400.9 kB / 0.5641 GB, free: 10.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6049, allocations: 12.03 kB / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.6049, allocations: 11.81 kB / 0.5641 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.6054, allocations: 213.8 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.6054, allocations: 0 / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.6054, allocations: 4 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.6056, allocations: 60.55 kB / 0.5644 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.6056, allocations: 0 / 0.5644 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.6056, allocations: 3.984 kB / 0.5644 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6057, allocations: 4 kB / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.007e-05/0.6058, allocations: 19.69 kB / 0.5644 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.6063, allocations: 290.8 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.6064, allocations: 54 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.6065, allocations: 23.92 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.6065, allocations: 4 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.6067, allocations: 62.89 kB / 0.5648 GB, free: 10.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.665e-06/0.6067, allocations: 0 / 0.5648 GB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006575/0.6074, allocations: 162.2 kB / 0.565 GB, free: 10 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.6075, allocations: 55.41 kB / 0.565 GB, free: 9.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.6078, allocations: 191.7 kB / 0.5652 GB, free: 9.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.6078, allocations: 25.7 kB / 0.5653 GB, free: 9.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.6079, allocations: 165.1 kB / 0.5654 GB, free: 9.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.608, allocations: 22.95 kB / 0.5654 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.608, allocations: 7.5 kB / 0.5654 GB, free: 9.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.6081, allocations: 310.8 kB / 0.5657 GB, free: 9.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.6082, allocations: 19 kB / 0.5658 GB, free: 9.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.53e-05/0.6083, allocations: 43.89 kB / 0.5658 GB, free: 9.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.423e-05/0.6084, allocations: 23.5 kB / 0.5658 GB, free: 9.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6084, allocations: 0 / 0.5658 GB, free: 9.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002314/0.6087, allocations: 92.16 kB / 0.5659 GB, free: 9.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6087, allocations: 4 kB / 0.5659 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.6087, allocations: 4 kB / 0.5659 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.6087, allocations: 4 kB / 0.5659 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.6089, allocations: 15.94 kB / 0.5659 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.6089, allocations: 3.953 kB / 0.5659 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.6091, allocations: 15.7 kB / 0.566 GB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.6091, allocations: 4 kB / 0.566 GB, free: 9.047 MB / 378.7 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.0001037/0.6092, allocations: 108.7 kB / 0.5661 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.6093, allocations: 11.81 kB / 0.5661 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.6096, allocations: 116.9 kB / 0.5662 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6097, allocations: 0 / 0.5662 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6097, allocations: 0 / 0.5662 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6097, allocations: 3.953 kB / 0.5662 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.6104, allocations: 413.5 kB / 0.5666 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6104, allocations: 0 / 0.5666 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.6106, allocations: 11.98 kB / 0.5666 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.6106, allocations: 0 / 0.5666 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.6106, allocations: 4 kB / 0.5666 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.6106, allocations: 7.891 kB / 0.5666 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6106, allocations: 0 / 0.5666 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.611, allocations: 226.4 kB / 0.5668 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.6111, allocations: 93 kB / 0.5669 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.6112, allocations: 7.891 kB / 0.5669 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.6113, allocations: 4 kB / 0.5669 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.6114, allocations: 7.984 kB / 0.5669 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.6114, allocations: 7.938 kB / 0.5669 GB, free: 8.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002142/0.6116, allocations: 156.6 kB / 0.5671 GB, free: 7.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6117, allocations: 8 kB / 0.5671 GB, free: 7.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.612, allocations: 31.88 kB / 0.5671 GB, free: 7.855 MB / 378.7 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.001293/0.6134, allocations: 416.6 kB / 0.5675 GB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.6137, allocations: 69.11 kB / 0.5676 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6137, allocations: 0 / 0.5676 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.6138, allocations: 30.12 kB / 0.5676 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.6143, allocations: 26.34 kB / 0.5676 GB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.6149, allocations: 200.9 kB / 0.5678 GB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.6153, allocations: 0.7157 MB / 0.5685 GB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.6154, allocations: 15.44 kB / 0.5685 GB, free: 6.449 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6154, allocations: 0 / 0.5685 GB, free: 6.449 MB / 378.7 MB Notification: Performance of Templates: time 0.006095/0.6215, allocations: 1.965 MB / 0.5705 GB, free: 4.496 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches