Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.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.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001442, 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 2.007/2.007, 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.001126/0.001125, allocations: 93.16 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.2969/0.2969, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.957e-05, allocations: 7.984 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.459, allocations: 58.84 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.6392, allocations: 86.09 MB / 0.55 GB, free: 13.22 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000367/0.6396, allocations: 71.97 kB / 0.55 GB, free: 13.15 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02415/0.6638, allocations: 4.154 MB / 0.5541 GB, free: 8.996 MB / 395.1 MB Notification: Performance of FrontEnd: time 7.173e-06/0.6639, allocations: 0 / 0.5541 GB, free: 8.996 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.6639, allocations: 3.938 kB / 0.5541 GB, free: 8.992 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008942/0.6648, allocations: 393.8 kB / 0.5545 GB, free: 8.566 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.301e-05/0.665, allocations: 12.03 kB / 0.5545 GB, free: 8.555 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.6651, allocations: 11.86 kB / 0.5545 GB, free: 8.543 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.6657, allocations: 206.7 kB / 0.5547 GB, free: 8.301 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6658, allocations: 0 / 0.5547 GB, free: 8.301 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.6658, allocations: 0 / 0.5547 GB, free: 8.301 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000136/0.666, allocations: 19.94 kB / 0.5547 GB, free: 8.281 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.6663, allocations: 45.67 kB / 0.5548 GB, free: 8.23 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.6664, allocations: 0 / 0.5548 GB, free: 8.23 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.6664, allocations: 0 / 0.5548 GB, free: 8.23 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.6665, allocations: 4 kB / 0.5548 GB, free: 8.227 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.6675, allocations: 273.3 kB / 0.555 GB, free: 7.922 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.6678, allocations: 38.52 kB / 0.5551 GB, free: 7.875 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.668, allocations: 8.859 kB / 0.5551 GB, free: 7.863 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.6681, allocations: 80 / 0.5551 GB, free: 7.863 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.371e-05/0.6682, allocations: 42.5 kB / 0.5551 GB, free: 7.812 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 3.838e-06/0.6682, allocations: 4 kB / 0.5551 GB, free: 7.809 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.001569/0.6698, allocations: 145.4 kB / 0.5553 GB, free: 7.66 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.6699, allocations: 51.41 kB / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005694/0.6705, allocations: 157.4 kB / 0.5555 GB, free: 7.438 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.6706, allocations: 25.7 kB / 0.5555 GB, free: 7.406 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.6708, allocations: 170.5 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.98e-05/0.6709, allocations: 23.7 kB / 0.5557 GB, free: 7.215 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.6709, allocations: 0 / 0.5557 GB, free: 7.215 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.6712, allocations: 314.8 kB / 0.556 GB, free: 6.898 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.6713, allocations: 16 kB / 0.556 GB, free: 6.883 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.6714, allocations: 12 kB / 0.556 GB, free: 6.871 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.6715, allocations: 19.92 kB / 0.556 GB, free: 6.852 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6716, allocations: 0 / 0.556 GB, free: 6.852 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003498/0.6719, allocations: 61.7 kB / 0.5561 GB, free: 6.785 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.672, allocations: 7.984 kB / 0.5561 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.672, allocations: 4 kB / 0.5561 GB, free: 6.773 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.868e-05/0.672, allocations: 0 / 0.5561 GB, free: 6.773 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.6724, allocations: 27.92 kB / 0.5561 GB, free: 6.746 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.6724, allocations: 7.953 kB / 0.5561 GB, free: 6.738 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.6726, allocations: 11.98 kB / 0.5561 GB, free: 6.727 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.6726, allocations: 4 kB / 0.5561 GB, free: 6.723 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 0.0001156/0.6727, allocations: 105 kB / 0.5562 GB, free: 6.613 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.6729, allocations: 11.81 kB / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.6733, allocations: 90.22 kB / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.6733, allocations: 4 kB / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.6733, allocations: 0 / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.6733, allocations: 3.953 kB / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008912/0.6742, allocations: 339 kB / 0.5567 GB, free: 6.125 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6743, allocations: 0 / 0.5567 GB, free: 6.125 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.6746, allocations: 27.98 kB / 0.5567 GB, free: 6.098 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.6746, allocations: 0 / 0.5567 GB, free: 6.098 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.6746, allocations: 0 / 0.5567 GB, free: 6.098 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/0.6747, allocations: 480 / 0.5567 GB, free: 6.098 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/0.6747, allocations: 3.953 kB / 0.5567 GB, free: 6.094 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.675, allocations: 175.4 kB / 0.5569 GB, free: 5.906 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6752, allocations: 100.9 kB / 0.5569 GB, free: 5.789 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.6753, allocations: 0 / 0.5569 GB, free: 5.789 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.6755, allocations: 11.98 kB / 0.557 GB, free: 5.777 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.6756, allocations: 11.94 kB / 0.557 GB, free: 5.766 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.6757, allocations: 4 kB / 0.557 GB, free: 5.762 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000227/0.6759, allocations: 132.1 kB / 0.5571 GB, free: 5.633 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6759, allocations: 3.938 kB / 0.5571 GB, free: 5.629 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006069/0.6765, allocations: 23.98 kB / 0.5571 GB, free: 5.605 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.00139/0.678, allocations: 331.1 kB / 0.5574 GB, free: 5.316 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.6782, allocations: 43.92 kB / 0.5575 GB, free: 5.273 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6782, allocations: 0 / 0.5575 GB, free: 5.273 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.6784, allocations: 27.94 kB / 0.5575 GB, free: 5.246 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.6788, allocations: 20.05 kB / 0.5575 GB, free: 5.23 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/0.6795, allocations: 173.9 kB / 0.5577 GB, free: 5.027 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.68, allocations: 0.7079 MB / 0.5584 GB, free: 4.293 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.6801, allocations: 19.38 kB / 0.5584 GB, free: 4.273 MB / 395.1 MB Notification: Performance of SimCode: time 3.447e-06/0.6801, allocations: 0 / 0.5584 GB, free: 4.273 MB / 395.1 MB Notification: Performance of Templates: time 0.006605/0.6867, allocations: 1.675 MB / 0.56 GB, free: 2.602 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches