Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 108.3 kB / 18.4 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 191 kB / 19.34 MB, free: 3.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2832/0.2832, allocations: 44.17 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 65.19 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1429, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003458/0.1464, allocations: 1.622 MB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1481, allocations: 1.035 MB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.1482, allocations: 0 / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.1484, allocations: 15.88 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.1487, allocations: 47.77 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.149, allocations: 138.8 kB / 473.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1492, allocations: 59.84 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1493, allocations: 20.11 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.562e-05/0.1494, allocations: 23.91 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1495, allocations: 27.86 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1496, allocations: 4 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1497, allocations: 55.97 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.1498, allocations: 19.92 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.1498, allocations: 19.86 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.15, allocations: 103.6 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.15, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.15, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.15, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 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.0006302/0.1507, allocations: 383.3 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1507, allocations: 12.03 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.1508, allocations: 12.84 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.151, allocations: 180.2 kB / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.151, allocations: 4.375 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1511, allocations: 4.375 kB / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1512, allocations: 83.25 kB / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1513, allocations: 0 / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1513, allocations: 3.984 kB / 474.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1513, allocations: 0 / 474.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1514, allocations: 35.97 kB / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.152, allocations: 284.8 kB / 474.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1521, allocations: 54.48 kB / 474.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.1522, allocations: 24.92 kB / 475 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1522, allocations: 4 kB / 475 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1523, allocations: 34.56 kB / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.1523, allocations: 0 / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007464/0.153, allocations: 193.3 kB / 475.2 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.1531, allocations: 89.09 kB / 475.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1533, allocations: 132.3 kB / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1533, allocations: 29.7 kB / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.1534, allocations: 99.97 kB / 475.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1534, allocations: 27.72 kB / 475.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1534, allocations: 21.7 kB / 475.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1536, allocations: 314.8 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1537, allocations: 35.97 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.1539, allocations: 45.69 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1541, allocations: 76.73 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1541, allocations: 4.031 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002362/0.1543, allocations: 109.5 kB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1543, allocations: 7.984 kB / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1543, allocations: 8 kB / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1544, allocations: 0 / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1545, allocations: 15.98 kB / 476.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.224e-05/0.1546, allocations: 4 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/0.1546, allocations: 15.92 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1546, allocations: 4 kB / 476.2 MB, free: 7.914 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.195e-05/0.1547, allocations: 117.8 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1548, allocations: 7.906 kB / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.1551, allocations: 126.3 kB / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1551, allocations: 0 / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1551, allocations: 4 kB / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1551, allocations: 3.938 kB / 476.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.1557, allocations: 382.5 kB / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1557, allocations: 0 / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.1559, allocations: 19.98 kB / 476.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1559, allocations: 0 / 476.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1559, allocations: 7.938 kB / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1559, allocations: 3.984 kB / 476.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1559, allocations: 0 / 476.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.1564, allocations: 211.3 kB / 477.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.1565, allocations: 81.02 kB / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1565, allocations: 7.938 kB / 477.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.1566, allocations: 19.92 kB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.1567, allocations: 7.984 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.1567, allocations: 0 / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.844e-05/0.1568, allocations: 103.3 kB / 477.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1568, allocations: 0 / 477.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000254/0.157, allocations: 24 kB / 477.3 MB, free: 6.703 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.1581, allocations: 440.8 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.1584, allocations: 79.88 kB / 477.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1584, allocations: 3.938 kB / 477.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1585, allocations: 43.97 kB / 477.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1588, allocations: 22.58 kB / 477.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.1592, allocations: 182 kB / 478.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1595, allocations: 0.6963 MB / 478.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.365e-05/0.1596, allocations: 20.19 kB / 478.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1597, allocations: 23.36 kB / 478.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1597, allocations: 0 / 478.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004388/0.1641, allocations: 1.494 MB / 480.3 MB, free: 3.836 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches