Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.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.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002331/0.002331, allocations: 182.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 2.403/2.403, 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.00108/0.00108, allocations: 90.64 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.2812/0.2812, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.541e-05/4.562e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1689, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.586/0.755, allocations: 86.4 MB / 0.5572 GB, free: 1.195 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.7553, allocations: 72.86 kB / 0.5572 GB, free: 1.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.7719, allocations: 4.176 MB / 0.5613 GB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.7719, allocations: 0 / 0.5613 GB, free: 13.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.772, allocations: 0 / 0.5613 GB, free: 13.56 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004954/0.7725, allocations: 388.1 kB / 0.5617 GB, free: 13.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.7725, allocations: 16.02 kB / 0.5617 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.7726, allocations: 11.81 kB / 0.5617 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.773, allocations: 220.8 kB / 0.5619 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.773, allocations: 4 kB / 0.5619 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.773, allocations: 7.125 kB / 0.5619 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.7732, allocations: 41.05 kB / 0.562 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.7732, allocations: 3.984 kB / 0.562 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7732, allocations: 3.188 kB / 0.562 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.7732, allocations: 0 / 0.562 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.983e-05/0.7733, allocations: 15.12 kB / 0.562 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.7739, allocations: 308.1 kB / 0.5623 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.7741, allocations: 42 kB / 0.5623 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.7742, allocations: 15.98 kB / 0.5623 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.7742, allocations: 0 / 0.5623 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.7743, allocations: 34.56 kB / 0.5624 GB, free: 12.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.7743, allocations: 0 / 0.5624 GB, free: 12.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005649/0.7749, allocations: 133.7 kB / 0.5625 GB, free: 12.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.7749, allocations: 51.41 kB / 0.5626 GB, free: 12.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.7754, allocations: 244.4 kB / 0.5628 GB, free: 11.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.7754, allocations: 28.89 kB / 0.5628 GB, free: 11.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.7755, allocations: 163.8 kB / 0.563 GB, free: 11.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.7756, allocations: 22.91 kB / 0.563 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.7756, allocations: 0 / 0.563 GB, free: 11.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7757, allocations: 314.8 kB / 0.5633 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.7758, allocations: 18.56 kB / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.7758, allocations: 11.88 kB / 0.5633 GB, free: 11.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/0.7759, allocations: 15.36 kB / 0.5633 GB, free: 11.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.7759, allocations: 0 / 0.5633 GB, free: 11.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001671/0.7761, allocations: 64.12 kB / 0.5634 GB, free: 11.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.7761, allocations: 8 kB / 0.5634 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7762, allocations: 0 / 0.5634 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7762, allocations: 0 / 0.5634 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.7763, allocations: 12 kB / 0.5634 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7763, allocations: 7.953 kB / 0.5634 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.7764, allocations: 7.984 kB / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.7765, allocations: 4 kB / 0.5634 GB, free: 11.33 MB / 378.7 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 (5): * Single equations (assignments): 5 * 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.231e-05/0.7766, allocations: 108.5 kB / 0.5635 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.7766, allocations: 11.91 kB / 0.5635 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.7769, allocations: 98.81 kB / 0.5636 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7769, allocations: 0 / 0.5636 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7769, allocations: 4 kB / 0.5636 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.777, allocations: 7.938 kB / 0.5637 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.7776, allocations: 368.3 kB / 0.564 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7776, allocations: 0 / 0.564 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.7777, allocations: 19.92 kB / 0.564 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.7777, allocations: 0 / 0.564 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.7778, allocations: 0 / 0.564 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.7778, allocations: 3.953 kB / 0.564 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7778, allocations: 0 / 0.564 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.778, allocations: 171.9 kB / 0.5642 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.7782, allocations: 100.3 kB / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.7782, allocations: 3.984 kB / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.7783, allocations: 11.17 kB / 0.5643 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.7784, allocations: 11.89 kB / 0.5643 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.7784, allocations: 0 / 0.5643 GB, free: 10.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002912/0.7787, allocations: 203.5 kB / 0.5645 GB, free: 10.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7787, allocations: 0 / 0.5645 GB, free: 10.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.7791, allocations: 22.88 kB / 0.5645 GB, free: 10.21 MB / 378.7 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 (5): * Single equations (assignments): 5 * 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.001122/0.7802, allocations: 363.9 kB / 0.5649 GB, free: 9.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.7804, allocations: 29.94 kB / 0.5649 GB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7804, allocations: 0 / 0.5649 GB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.354e-05/0.7805, allocations: 19.12 kB / 0.5649 GB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.7808, allocations: 24.3 kB / 0.5649 GB, free: 9.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.7814, allocations: 244.6 kB / 0.5652 GB, free: 9.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.7818, allocations: 0.7176 MB / 0.5659 GB, free: 8.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.7819, allocations: 15.44 kB / 0.5659 GB, free: 8.852 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7819, allocations: 0 / 0.5659 GB, free: 8.852 MB / 378.7 MB Notification: Performance of Templates: time 0.006215/0.7882, allocations: 1.769 MB / 0.5676 GB, free: 7.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches