Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009459/0.0009459, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.415/1.415, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007308/0.0007307, allocations: 82.44 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3389/0.3389, allocations: 43.56 MB / 363.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003819, allocations: 16 kB / 432.6 MB, free: 5.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 58.84 MB / 491.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2814/0.3967, allocations: 87.17 MB / 0.565 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.397, allocations: 72.45 kB / 0.5651 GB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01637/0.4134, allocations: 7.883 MB / 0.5728 GB, free: 7.219 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4134, allocations: 0.5625 kB / 0.5728 GB, free: 7.219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.4135, allocations: 4.547 kB / 0.5728 GB, free: 7.215 MB / 394.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.0005941/0.4141, allocations: 0.6327 MB / 0.5734 GB, free: 6.535 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4141, allocations: 12.03 kB / 0.5734 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.4142, allocations: 40.38 kB / 0.5735 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.4146, allocations: 344.2 kB / 0.5738 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.4146, allocations: 7.688 kB / 0.5738 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.4146, allocations: 4.375 kB / 0.5738 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.4148, allocations: 54.25 kB / 0.5739 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.4148, allocations: 192 / 0.5739 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4148, allocations: 3.938 kB / 0.5739 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4148, allocations: 0 / 0.5739 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.4149, allocations: 35.91 kB / 0.5739 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.4154, allocations: 440.8 kB / 0.5743 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.876e-05/0.4155, allocations: 30.58 kB / 0.5744 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.4156, allocations: 16.91 kB / 0.5744 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.4156, allocations: 0 / 0.5744 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.4156, allocations: 42.53 kB / 0.5744 GB, free: 5.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.4156, allocations: 0.5469 kB / 0.5744 GB, free: 5.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002627/0.4159, allocations: 109.1 kB / 0.5745 GB, free: 5.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.416, allocations: 51.41 kB / 0.5746 GB, free: 5.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.4171, allocations: 0.8573 MB / 0.5754 GB, free: 4.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.4172, allocations: 29.83 kB / 0.5754 GB, free: 4.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.4173, allocations: 228 kB / 0.5757 GB, free: 4.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.4174, allocations: 3.906 kB / 0.5757 GB, free: 4.105 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.4174, allocations: 0 / 0.5757 GB, free: 4.105 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4175, allocations: 358.8 kB / 0.576 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.4176, allocations: 15.98 kB / 0.576 GB, free: 3.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-05/0.4176, allocations: 15.92 kB / 0.576 GB, free: 3.715 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.568e-05/0.4177, allocations: 36.84 kB / 0.5761 GB, free: 3.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4177, allocations: 0 / 0.5761 GB, free: 3.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001481/0.4179, allocations: 89.22 kB / 0.5762 GB, free: 3.582 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4179, allocations: 8 kB / 0.5762 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4179, allocations: 0 / 0.5762 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.4179, allocations: 4.031 kB / 0.5762 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.418, allocations: 11.98 kB / 0.5762 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.418, allocations: 0 / 0.5762 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.4181, allocations: 7.906 kB / 0.5762 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.4181, allocations: 0 / 0.5762 GB, free: 3.551 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001751/0.4182, allocations: 217.7 kB / 0.5764 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.4183, allocations: 43.47 kB / 0.5764 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.4185, allocations: 112.7 kB / 0.5765 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4185, allocations: 0.75 kB / 0.5765 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4185, allocations: 0 / 0.5765 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4186, allocations: 0 / 0.5765 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.4188, allocations: 325.4 kB / 0.5769 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4189, allocations: 0 / 0.5769 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.4189, allocations: 7.984 kB / 0.5769 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4189, allocations: 4 kB / 0.5769 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.4189, allocations: 32 / 0.5769 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4189, allocations: 7.938 kB / 0.5769 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4189, allocations: 0 / 0.5769 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.4191, allocations: 202.8 kB / 0.5771 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.4193, allocations: 160.5 kB / 0.5772 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.4194, allocations: 0 / 0.5772 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.4194, allocations: 13.53 kB / 0.5772 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.4195, allocations: 0 / 0.5772 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.4195, allocations: 0 / 0.5772 GB, free: 2.379 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006724/0.4202, allocations: 0.6432 MB / 0.5779 GB, free: 1.738 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4202, allocations: 3.938 kB / 0.5779 GB, free: 1.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.4204, allocations: 51.94 kB / 0.5779 GB, free: 1.684 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0007023/0.4211, allocations: 349.8 kB / 0.5782 GB, free: 1.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.4213, allocations: 31.97 kB / 0.5783 GB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4213, allocations: 3.938 kB / 0.5783 GB, free: 1.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.4214, allocations: 16.06 kB / 0.5783 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.4217, allocations: 34.17 kB / 0.5783 GB, free: 1.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4229, allocations: 0.9249 MB / 0.5792 GB, free: 400 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.4233, allocations: 0.8223 MB / 0.58 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.4233, allocations: 23.69 kB / 0.5801 GB, free: 15.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.482e-06/0.4233, allocations: 0 / 0.5801 GB, free: 15.52 MB / 410.7 MB Notification: Performance of Templates: time 0.006501/0.4299, allocations: 4.048 MB / 0.584 GB, free: 11.46 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches