Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008536/0.0008534, allocations: 90.61 kB / 261.7 MB, free: 1.617 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.2374/0.2374, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.507e-05/1.507e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 58.85 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4171/0.5376, allocations: 86.11 MB / 0.55 GB, free: 8.688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.5379, allocations: 78.42 kB / 0.5501 GB, free: 8.648 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01377/0.5516, allocations: 7.632 MB / 0.5576 GB, free: 2.121 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.5517, allocations: 0 / 0.5576 GB, free: 2.121 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.5517, allocations: 7.938 kB / 0.5576 GB, free: 2.113 MB / 362.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.0005283/0.5523, allocations: 0.5505 MB / 0.5581 GB, free: 1.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5523, allocations: 8.031 kB / 0.5581 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.5524, allocations: 47.39 kB / 0.5581 GB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.5529, allocations: 325.9 kB / 0.5585 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.5529, allocations: 4 kB / 0.5585 GB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.5529, allocations: 4 kB / 0.5585 GB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.559e-05/0.553, allocations: 18.62 kB / 0.5585 GB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.5531, allocations: 44.98 kB / 0.5585 GB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.5531, allocations: 0 / 0.5585 GB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5532, allocations: 0 / 0.5585 GB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.5532, allocations: 3.953 kB / 0.5585 GB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.5537, allocations: 414 kB / 0.5589 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.5539, allocations: 33.77 kB / 0.559 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.5539, allocations: 12.61 kB / 0.559 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.5539, allocations: 4 kB / 0.559 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.5539, allocations: 30.56 kB / 0.559 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5539, allocations: 4 kB / 0.559 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003977/0.5543, allocations: 188.7 kB / 0.5592 GB, free: 428 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.5544, allocations: 51.41 kB / 0.5592 GB, free: 364 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009486/0.5553, allocations: 0.7485 MB / 0.56 GB, free: 15.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.5554, allocations: 25.7 kB / 0.56 GB, free: 15.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.5555, allocations: 219.9 kB / 0.5602 GB, free: 15.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.5556, allocations: 15.75 kB / 0.5602 GB, free: 15.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.5556, allocations: 0 / 0.5602 GB, free: 15.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5558, allocations: 361.4 kB / 0.5606 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.5558, allocations: 6.875 kB / 0.5606 GB, free: 15.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.5558, allocations: 14.12 kB / 0.5606 GB, free: 15.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.5559, allocations: 15.3 kB / 0.5606 GB, free: 15.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.5559, allocations: 0 / 0.5606 GB, free: 15.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001325/0.556, allocations: 91.95 kB / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.556, allocations: 4 kB / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.556, allocations: 0 / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.5561, allocations: 7.938 kB / 0.5607 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.5561, allocations: 19.94 kB / 0.5607 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5562, allocations: 0 / 0.5607 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.19e-05/0.5562, allocations: 12.14 kB / 0.5607 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.5563, allocations: 0 / 0.5607 GB, free: 15.1 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 7.366e-05/0.5563, allocations: 101 kB / 0.5608 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.5564, allocations: 39.53 kB / 0.5609 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.5566, allocations: 112.6 kB / 0.561 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5566, allocations: 7.953 kB / 0.561 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5566, allocations: 0 / 0.561 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5566, allocations: 0 / 0.561 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.5573, allocations: 0.5415 MB / 0.5615 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5573, allocations: 0 / 0.5615 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.5573, allocations: 15.98 kB / 0.5615 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5573, allocations: 0 / 0.5615 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.5574, allocations: 3.953 kB / 0.5615 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5574, allocations: 4 kB / 0.5615 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5574, allocations: 0 / 0.5615 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.5576, allocations: 194.5 kB / 0.5617 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.5577, allocations: 161.8 kB / 0.5619 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.5578, allocations: 4 kB / 0.5619 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.5579, allocations: 11.94 kB / 0.5619 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.5579, allocations: 4 kB / 0.5619 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.5579, allocations: 4 kB / 0.5619 GB, free: 13.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005599/0.5585, allocations: 0.6083 MB / 0.5625 GB, free: 13.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5585, allocations: 0 / 0.5625 GB, free: 13.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002935/0.5588, allocations: 55.94 kB / 0.5625 GB, free: 13.44 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.0007613/0.5596, allocations: 339 kB / 0.5629 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.89e-05/0.5597, allocations: 35.69 kB / 0.5629 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5597, allocations: 0 / 0.5629 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.5597, allocations: 15.12 kB / 0.5629 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.56, allocations: 25.58 kB / 0.5629 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009836/0.561, allocations: 0.6999 MB / 0.5636 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.5614, allocations: 0.832 MB / 0.5644 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.195e-05/0.5615, allocations: 43.97 kB / 0.5645 GB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.5616, allocations: 19.44 kB / 0.5645 GB, free: 11.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5616, allocations: 0 / 0.5645 GB, free: 11.54 MB / 378.7 MB Notification: Performance of Templates: time 0.005456/0.5671, allocations: 2.11 MB / 0.5665 GB, free: 9.441 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches