Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001285/0.001286, allocations: 194 kB / 18.12 MB, free: 5.383 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.443/1.443, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2213/0.2213, allocations: 44.18 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001614, allocations: 68.14 kB / 407.7 MB, free: 27.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1319, allocations: 60.83 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003035/0.135, allocations: 1.626 MB / 470.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007834/0.1358, allocations: 411.2 kB / 470.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.1359, allocations: 0 / 470.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.1365, allocations: 451.2 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.1369, allocations: 247.5 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.1372, allocations: 110.7 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1375, allocations: 151.8 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.1376, allocations: 4 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1377, allocations: 107.7 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.1379, allocations: 195.6 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.138, allocations: 8 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.1381, allocations: 23.98 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1382, allocations: 79.62 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.1383, allocations: 99 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1385, allocations: 231.1 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1385, allocations: 0 / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1385, allocations: 0 / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1386, allocations: 0 / 472.2 MB, free: 11.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007051/0.1393, allocations: 0.6209 MB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1393, allocations: 8.031 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.1394, allocations: 48.38 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1397, allocations: 288.2 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1397, allocations: 384 / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1397, allocations: 4.375 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1399, allocations: 49.75 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1399, allocations: 0 / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1399, allocations: 7.938 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1399, allocations: 0 / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.14, allocations: 23.98 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.1405, allocations: 380.7 kB / 473.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.001e-05/0.1406, allocations: 34.5 kB / 473.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.1406, allocations: 8.922 kB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1407, allocations: 3.984 kB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1407, allocations: 38.56 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1407, allocations: 0 / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002744/0.141, allocations: 93.22 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.141, allocations: 55.34 kB / 473.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.1419, allocations: 0.8535 MB / 474.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1419, allocations: 29.7 kB / 474.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1421, allocations: 216.1 kB / 475 MB, free: 8.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.1421, allocations: 4.031 kB / 475 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.1422, allocations: 17.72 kB / 475 MB, free: 8.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1423, allocations: 366.7 kB / 475.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.1424, allocations: 4 kB / 475.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.1424, allocations: 7.984 kB / 475.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.494e-05/0.1425, allocations: 28.84 kB / 475.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1425, allocations: 0 / 475.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001497/0.1427, allocations: 97.12 kB / 475.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1427, allocations: 4 kB / 475.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1427, allocations: 4 kB / 475.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1427, allocations: 0 / 475.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.1428, allocations: 4 kB / 475.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1428, allocations: 0 / 475.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.1429, allocations: 3.984 kB / 475.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1429, allocations: 4 kB / 475.5 MB, free: 7.664 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 (2): * Single equations (assignments): 2 * 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 0.0001878/0.1431, allocations: 213.8 kB / 475.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.1431, allocations: 43.44 kB / 475.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.1433, allocations: 104.5 kB / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1434, allocations: 0 / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1434, allocations: 4 kB / 475.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1434, allocations: 3.984 kB / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.1437, allocations: 281.5 kB / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1437, allocations: 0 / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.1437, allocations: 15.95 kB / 476.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1437, allocations: 3.984 kB / 476.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1437, allocations: 0 / 476.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1437, allocations: 0 / 476.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1437, allocations: 0 / 476.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1439, allocations: 183 kB / 476.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.144, allocations: 112.5 kB / 476.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1441, allocations: 4.031 kB / 476.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.1441, allocations: 3.984 kB / 476.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.1442, allocations: 4 kB / 476.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1442, allocations: 0 / 476.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005983/0.1448, allocations: 0.6472 MB / 477.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1448, allocations: 0 / 477.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1451, allocations: 19.94 kB / 477.1 MB, free: 5.938 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 (2): * Single equations (assignments): 2 * 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.0007781/0.1459, allocations: 367.4 kB / 477.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.146, allocations: 23.92 kB / 477.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.146, allocations: 0 / 477.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/0.1461, allocations: 11.98 kB / 477.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1465, allocations: 22.09 kB / 477.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1476, allocations: 0.8275 MB / 478.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1481, allocations: 0.8184 MB / 479.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.273e-05/0.1481, allocations: 7.984 kB / 479.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.1481, allocations: 11.44 kB / 479.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1481, allocations: 0 / 479.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of Templates: time 0.004731/0.1529, allocations: 1.216 MB / 480.4 MB, free: 2.723 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches