Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.397/1.397, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007842/0.0007844, allocations: 93.11 kB / 267.1 MB, free: 9.285 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.3851/0.3851, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.627e-05/4.63e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/0.5475, allocations: 87.14 MB / 0.5579 GB, free: 16.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.5478, allocations: 70.41 kB / 0.558 GB, free: 16.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.5581, allocations: 4.352 MB / 0.5622 GB, free: 14.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5582, allocations: 0 / 0.5622 GB, free: 14.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.5582, allocations: 4 kB / 0.5622 GB, free: 14.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.0003878/0.5586, allocations: 403.3 kB / 0.5626 GB, free: 13.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.5587, allocations: 12.03 kB / 0.5626 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.5587, allocations: 9.406 kB / 0.5626 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.559, allocations: 200.3 kB / 0.5628 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.559, allocations: 0 / 0.5628 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.559, allocations: 4 kB / 0.5628 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5591, allocations: 50.61 kB / 0.5629 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5592, allocations: 1.375 kB / 0.5629 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5592, allocations: 4 kB / 0.5629 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-06/0.5592, allocations: 4.484 kB / 0.5629 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.784e-05/0.5593, allocations: 24.86 kB / 0.5629 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.5597, allocations: 318.7 kB / 0.5632 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/0.5597, allocations: 45.06 kB / 0.5633 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.5598, allocations: 20.67 kB / 0.5633 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.5598, allocations: 7.266 kB / 0.5633 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.5598, allocations: 31.97 kB / 0.5633 GB, free: 13.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5598, allocations: 0 / 0.5633 GB, free: 13.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004525/0.5603, allocations: 170.9 kB / 0.5635 GB, free: 13.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.5603, allocations: 51.41 kB / 0.5635 GB, free: 13.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.5605, allocations: 185.5 kB / 0.5637 GB, free: 12.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.5605, allocations: 25.7 kB / 0.5637 GB, free: 12.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.5606, allocations: 98.58 kB / 0.5638 GB, free: 12.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.5606, allocations: 29.39 kB / 0.5639 GB, free: 12.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.5606, allocations: 3.375 kB / 0.5639 GB, free: 12.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.5607, allocations: 323.3 kB / 0.5642 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.5607, allocations: 24.02 kB / 0.5642 GB, free: 12.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.5608, allocations: 24.58 kB / 0.5642 GB, free: 12.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.5608, allocations: 23.66 kB / 0.5642 GB, free: 12.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5608, allocations: 1.547 kB / 0.5642 GB, free: 12.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001143/0.5609, allocations: 90.61 kB / 0.5643 GB, free: 12.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.561, allocations: 5.094 kB / 0.5643 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.561, allocations: 3.938 kB / 0.5643 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.561, allocations: 3.953 kB / 0.5643 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5611, allocations: 28.83 kB / 0.5644 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5611, allocations: 0 / 0.5644 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.5612, allocations: 11.14 kB / 0.5644 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.5612, allocations: 4 kB / 0.5644 GB, free: 12.25 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 () * 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 4.844e-05/0.5613, allocations: 106.3 kB / 0.5645 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.5613, allocations: 7.906 kB / 0.5645 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.5615, allocations: 106.8 kB / 0.5646 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.5615, allocations: 7.953 kB / 0.5646 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.5615, allocations: 0 / 0.5646 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.5615, allocations: 1.5 kB / 0.5646 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.5619, allocations: 394.5 kB / 0.565 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5619, allocations: 4 kB / 0.565 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/0.562, allocations: 18.86 kB / 0.565 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.562, allocations: 5.547 kB / 0.565 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.562, allocations: 7.938 kB / 0.565 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.562, allocations: 5.875 kB / 0.565 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.562, allocations: 0 / 0.565 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.5622, allocations: 190.8 kB / 0.5652 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.5622, allocations: 88.06 kB / 0.5653 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.5622, allocations: 11.02 kB / 0.5653 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.5623, allocations: 19.33 kB / 0.5653 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.5624, allocations: 7.328 kB / 0.5653 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.5624, allocations: 0 / 0.5653 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.5625, allocations: 146.8 kB / 0.5655 GB, free: 11.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5625, allocations: 0 / 0.5655 GB, free: 11.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.5627, allocations: 29.03 kB / 0.5655 GB, free: 11.2 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 () * 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.0008159/0.5636, allocations: 365.3 kB / 0.5658 GB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.5637, allocations: 47.33 kB / 0.5659 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5637, allocations: 4 kB / 0.5659 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.5638, allocations: 37.64 kB / 0.5659 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.564, allocations: 14.5 kB / 0.5659 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.5643, allocations: 177.6 kB / 0.5661 GB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.5645, allocations: 0.7125 MB / 0.5668 GB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.5646, allocations: 22.39 kB / 0.5668 GB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.5646, allocations: 20.78 kB / 0.5668 GB, free: 9.941 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5646, allocations: 0 / 0.5668 GB, free: 9.941 MB / 394.7 MB Notification: Performance of Templates: time 0.00323/0.5679, allocations: 1.3 MB / 0.5681 GB, free: 8.805 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches