Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009864/0.0009862, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.454/1.454, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0007483/0.0007483, allocations: 91.39 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.3513/0.3513, allocations: 43.56 MB / 363.8 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 12 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3313/0.4539, allocations: 87.27 MB / 0.5651 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.4542, allocations: 72.7 kB / 0.5652 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01164/0.4659, allocations: 4.461 MB / 0.5696 GB, free: 10.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.466, allocations: 0 / 0.5696 GB, free: 10.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.466, allocations: 4 kB / 0.5696 GB, free: 10.48 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.0005241/0.4665, allocations: 422.7 kB / 0.57 GB, free: 10.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4666, allocations: 12.03 kB / 0.57 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.4666, allocations: 12.75 kB / 0.57 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.4669, allocations: 209.3 kB / 0.5702 GB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4669, allocations: 4.375 kB / 0.5702 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4669, allocations: 384 / 0.5702 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.4671, allocations: 71.81 kB / 0.5703 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4671, allocations: 192 / 0.5703 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4672, allocations: 7.938 kB / 0.5703 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4672, allocations: 0 / 0.5703 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.4673, allocations: 43.97 kB / 0.5703 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.4678, allocations: 328.7 kB / 0.5706 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.468, allocations: 58.48 kB / 0.5707 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.468, allocations: 36.88 kB / 0.5707 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.4681, allocations: 0 / 0.5707 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.4681, allocations: 30.62 kB / 0.5708 GB, free: 9.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.4681, allocations: 0 / 0.5708 GB, free: 9.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008339/0.469, allocations: 273.7 kB / 0.571 GB, free: 8.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.469, allocations: 51.41 kB / 0.5711 GB, free: 8.773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.4693, allocations: 210.8 kB / 0.5713 GB, free: 8.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.4693, allocations: 25.7 kB / 0.5713 GB, free: 8.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.4694, allocations: 108 kB / 0.5714 GB, free: 8.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.4694, allocations: 23.66 kB / 0.5714 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.4694, allocations: 0 / 0.5714 GB, free: 8.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4696, allocations: 330.8 kB / 0.5717 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4697, allocations: 43.97 kB / 0.5718 GB, free: 8.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.4698, allocations: 60.02 kB / 0.5718 GB, free: 7.961 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.4701, allocations: 109 kB / 0.5719 GB, free: 7.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4701, allocations: 4 kB / 0.5719 GB, free: 7.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002805/0.4704, allocations: 129.5 kB / 0.5721 GB, free: 7.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4704, allocations: 12 kB / 0.5721 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4704, allocations: 4 kB / 0.5721 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4704, allocations: 3.984 kB / 0.5721 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4705, allocations: 19.98 kB / 0.5721 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4706, allocations: 4 kB / 0.5721 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.4706, allocations: 12.73 kB / 0.5721 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.4707, allocations: 4 kB / 0.5721 GB, free: 7.656 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 0.0001149/0.4708, allocations: 134.2 kB / 0.5722 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.4708, allocations: 19.8 kB / 0.5723 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.4712, allocations: 155 kB / 0.5724 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4712, allocations: 0 / 0.5724 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4712, allocations: 0 / 0.5724 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4712, allocations: 0 / 0.5724 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.4718, allocations: 454.3 kB / 0.5728 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4718, allocations: 0 / 0.5728 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.009e-05/0.4719, allocations: 23.98 kB / 0.5729 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4719, allocations: 4.266 kB / 0.5729 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4719, allocations: 8 kB / 0.5729 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.472, allocations: 3.938 kB / 0.5729 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.472, allocations: 3.938 kB / 0.5729 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.4723, allocations: 243.3 kB / 0.5731 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.4724, allocations: 96.91 kB / 0.5732 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.4724, allocations: 4 kB / 0.5732 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.4725, allocations: 15.98 kB / 0.5732 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.4725, allocations: 11.92 kB / 0.5732 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.4726, allocations: 0 / 0.5732 GB, free: 6.395 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.4727, allocations: 163.7 kB / 0.5734 GB, free: 6.234 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4727, allocations: 0 / 0.5734 GB, free: 6.234 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.473, allocations: 27.94 kB / 0.5734 GB, free: 6.207 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.0009077/0.4739, allocations: 402.8 kB / 0.5738 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.4742, allocations: 111.9 kB / 0.5739 GB, free: 5.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4742, allocations: 0 / 0.5739 GB, free: 5.797 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.4743, allocations: 55.97 kB / 0.574 GB, free: 5.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.4746, allocations: 14.23 kB / 0.574 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.4752, allocations: 322.7 kB / 0.5743 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.4755, allocations: 0.7082 MB / 0.575 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.4755, allocations: 23.42 kB / 0.575 GB, free: 4.629 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4755, allocations: 0 / 0.575 GB, free: 4.629 MB / 394.7 MB Notification: Performance of Templates: time 0.00383/0.4794, allocations: 1.821 MB / 0.5768 GB, free: 2.816 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches