Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2D.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 182 kB / 17.41 MB, free: 4.406 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.519/1.519, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007725/0.0007722, allocations: 93.03 kB / 271.9 MB, free: 8.246 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.369/0.369, allocations: 43.55 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003877, allocations: 16 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 58.84 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3217/0.4583, allocations: 86.88 MB / 0.5648 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.4586, allocations: 75.97 kB / 0.5648 GB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0108/0.4694, allocations: 4.167 MB / 0.5689 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4695, allocations: 0 / 0.5689 GB, free: 11.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.4695, allocations: 4 kB / 0.5689 GB, free: 11.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000486/0.47, allocations: 414.5 kB / 0.5693 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.47, allocations: 8.031 kB / 0.5693 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.4701, allocations: 16.83 kB / 0.5693 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.4703, allocations: 200.1 kB / 0.5695 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4703, allocations: 4.375 kB / 0.5695 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.4704, allocations: 384 / 0.5695 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.4705, allocations: 74.14 kB / 0.5696 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4706, allocations: 192 / 0.5696 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.4706, allocations: 3.938 kB / 0.5696 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4706, allocations: 7.984 kB / 0.5696 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.4707, allocations: 47.97 kB / 0.5697 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.4711, allocations: 284.8 kB / 0.5699 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.4713, allocations: 58.48 kB / 0.57 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.4713, allocations: 28.94 kB / 0.57 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.4714, allocations: 0 / 0.57 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.4714, allocations: 34.62 kB / 0.57 GB, free: 10.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.4714, allocations: 0 / 0.57 GB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007733/0.4722, allocations: 245.1 kB / 0.5703 GB, free: 9.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.4723, allocations: 59.39 kB / 0.5703 GB, free: 9.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.4724, allocations: 171.3 kB / 0.5705 GB, free: 9.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.4725, allocations: 25.7 kB / 0.5705 GB, free: 9.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.4725, allocations: 108 kB / 0.5706 GB, free: 9.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.4726, allocations: 31.7 kB / 0.5707 GB, free: 9.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4726, allocations: 3.938 kB / 0.5707 GB, free: 9.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4727, allocations: 330.8 kB / 0.571 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.4728, allocations: 35.98 kB / 0.571 GB, free: 8.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4729, allocations: 39.97 kB / 0.571 GB, free: 8.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.4731, allocations: 96.8 kB / 0.5711 GB, free: 8.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4732, allocations: 3.938 kB / 0.5711 GB, free: 8.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002681/0.4734, allocations: 121.6 kB / 0.5713 GB, free: 8.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4735, allocations: 7.984 kB / 0.5713 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4735, allocations: 0 / 0.5713 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4735, allocations: 0 / 0.5713 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.4736, allocations: 23.98 kB / 0.5713 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4736, allocations: 0 / 0.5713 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.4737, allocations: 19.98 kB / 0.5713 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4737, allocations: 4 kB / 0.5713 GB, free: 8.668 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 (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 9.908e-05/0.4738, allocations: 125.8 kB / 0.5714 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.4738, allocations: 7.906 kB / 0.5714 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.4742, allocations: 146.3 kB / 0.5716 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.4742, allocations: 7.984 kB / 0.5716 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4742, allocations: 0 / 0.5716 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4742, allocations: 3.938 kB / 0.5716 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.4748, allocations: 430.7 kB / 0.572 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4748, allocations: 0 / 0.572 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.4749, allocations: 23.98 kB / 0.572 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4749, allocations: 4 kB / 0.572 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4749, allocations: 4 kB / 0.572 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4749, allocations: 0 / 0.572 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/0.4749, allocations: 3.938 kB / 0.572 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4753, allocations: 223.4 kB / 0.5722 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.4753, allocations: 97 kB / 0.5723 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.4753, allocations: 0 / 0.5723 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.4754, allocations: 15.92 kB / 0.5724 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.4755, allocations: 15.94 kB / 0.5724 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.4755, allocations: 7.984 kB / 0.5724 GB, free: 7.473 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.4756, allocations: 132.5 kB / 0.5725 GB, free: 7.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.114e-06/0.4756, allocations: 0 / 0.5725 GB, free: 7.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.4759, allocations: 35.86 kB / 0.5725 GB, free: 7.309 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 (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.0008697/0.4768, allocations: 395.6 kB / 0.5729 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.4771, allocations: 99.92 kB / 0.573 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4771, allocations: 0 / 0.573 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4772, allocations: 55.91 kB / 0.5731 GB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.4775, allocations: 17.2 kB / 0.5731 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.478, allocations: 269.3 kB / 0.5733 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.4783, allocations: 0.7043 MB / 0.574 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.4784, allocations: 19.38 kB / 0.574 GB, free: 5.801 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4784, allocations: 0 / 0.574 GB, free: 5.801 MB / 394.7 MB Notification: Performance of Templates: time 0.003226/0.4816, allocations: 1.663 MB / 0.5757 GB, free: 4.145 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches