Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, 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.127/2.127, 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.001921/0.001921, allocations: 91.62 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.2926/0.2926, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.861e-05, allocations: 7.984 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4795, allocations: 58.84 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.6405, allocations: 86.09 MB / 0.55 GB, free: 13.22 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.6409, allocations: 71.47 kB / 0.55 GB, free: 13.15 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.6584, allocations: 4.079 MB / 0.554 GB, free: 9.066 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.6585, allocations: 0 / 0.554 GB, free: 9.066 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.6585, allocations: 0 / 0.554 GB, free: 9.066 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.0005385/0.659, allocations: 397.9 kB / 0.5544 GB, free: 8.637 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.6591, allocations: 8.031 kB / 0.5544 GB, free: 8.629 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.6592, allocations: 11.86 kB / 0.5544 GB, free: 8.617 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.6595, allocations: 195.5 kB / 0.5546 GB, free: 8.383 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.6595, allocations: 4 kB / 0.5546 GB, free: 8.379 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.6595, allocations: 0 / 0.5546 GB, free: 8.379 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001024/0.6596, allocations: 20 kB / 0.5546 GB, free: 8.359 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.6598, allocations: 41.69 kB / 0.5547 GB, free: 8.312 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.6598, allocations: 0 / 0.5547 GB, free: 8.312 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.6598, allocations: 3.938 kB / 0.5547 GB, free: 8.309 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6598, allocations: 0 / 0.5547 GB, free: 8.309 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.6603, allocations: 281.3 kB / 0.5549 GB, free: 7.996 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.034e-05/0.6604, allocations: 30.58 kB / 0.555 GB, free: 7.957 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.6605, allocations: 12.86 kB / 0.555 GB, free: 7.941 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.6605, allocations: 4 kB / 0.555 GB, free: 7.938 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.6606, allocations: 30.56 kB / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.6606, allocations: 0 / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006585/0.6613, allocations: 149.2 kB / 0.5552 GB, free: 7.746 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.6613, allocations: 51.41 kB / 0.5552 GB, free: 7.684 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.6616, allocations: 151.3 kB / 0.5553 GB, free: 7.523 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6616, allocations: 25.7 kB / 0.5554 GB, free: 7.492 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.6617, allocations: 162.5 kB / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.6618, allocations: 23.66 kB / 0.5555 GB, free: 7.309 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.6618, allocations: 4 kB / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6619, allocations: 318.8 kB / 0.5559 GB, free: 6.984 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.662, allocations: 12 kB / 0.5559 GB, free: 6.973 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.82e-05/0.6621, allocations: 19.94 kB / 0.5559 GB, free: 6.953 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.6621, allocations: 12 kB / 0.5559 GB, free: 6.941 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6621, allocations: 3.938 kB / 0.5559 GB, free: 6.938 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001778/0.6623, allocations: 69.75 kB / 0.556 GB, free: 6.863 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.6624, allocations: 4 kB / 0.556 GB, free: 6.859 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6624, allocations: 4 kB / 0.556 GB, free: 6.855 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.6624, allocations: 4 kB / 0.556 GB, free: 6.852 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.6626, allocations: 19.98 kB / 0.556 GB, free: 6.832 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6626, allocations: 3.953 kB / 0.556 GB, free: 6.828 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.6628, allocations: 15.98 kB / 0.556 GB, free: 6.812 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.6628, allocations: 0 / 0.556 GB, free: 6.812 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 8.998e-05/0.6629, allocations: 108.9 kB / 0.5561 GB, free: 6.699 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.663, allocations: 11.91 kB / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.6632, allocations: 86.59 kB / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.6632, allocations: 0 / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6632, allocations: 0 / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.6633, allocations: 7.938 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.6638, allocations: 339 kB / 0.5565 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6638, allocations: 0 / 0.5565 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.664, allocations: 23.98 kB / 0.5566 GB, free: 6.195 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.664, allocations: 4 kB / 0.5566 GB, free: 6.191 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.6641, allocations: 0 / 0.5566 GB, free: 6.191 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6641, allocations: 4 kB / 0.5566 GB, free: 6.188 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.6641, allocations: 3.953 kB / 0.5566 GB, free: 6.184 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.6643, allocations: 163.5 kB / 0.5567 GB, free: 6.008 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.6644, allocations: 93 kB / 0.5568 GB, free: 5.898 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.6644, allocations: 0 / 0.5568 GB, free: 5.898 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.6646, allocations: 19.98 kB / 0.5568 GB, free: 5.879 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.6647, allocations: 11.94 kB / 0.5569 GB, free: 5.867 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.6647, allocations: 0 / 0.5569 GB, free: 5.867 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.6649, allocations: 132.5 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6649, allocations: 0 / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.6653, allocations: 23.98 kB / 0.557 GB, free: 5.715 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.001019/0.6663, allocations: 339.9 kB / 0.5573 GB, free: 5.418 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.6665, allocations: 39.98 kB / 0.5574 GB, free: 5.379 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6665, allocations: 0 / 0.5574 GB, free: 5.379 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.6666, allocations: 27.94 kB / 0.5574 GB, free: 5.352 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.6669, allocations: 23.23 kB / 0.5574 GB, free: 5.332 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.6675, allocations: 173.9 kB / 0.5576 GB, free: 5.137 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.6678, allocations: 0.708 MB / 0.5583 GB, free: 4.402 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.6679, allocations: 15.42 kB / 0.5583 GB, free: 4.387 MB / 395.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6679, allocations: 0 / 0.5583 GB, free: 4.387 MB / 395.1 MB Notification: Performance of Templates: time 0.005064/0.673, allocations: 1.632 MB / 0.5599 GB, free: 2.758 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches