Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001202/0.001202, allocations: 194 kB / 18.77 MB, free: 4.742 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.354/1.354, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2194/0.2194, allocations: 44.17 MB / 336.8 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 61.02 kB / 408.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003455/0.1279, allocations: 1.677 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000805/0.1287, allocations: 431.1 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.1288, allocations: 0 / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.1294, allocations: 447.2 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.1297, allocations: 255.5 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.1301, allocations: 115.6 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.1303, allocations: 159.7 kB / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1305, allocations: 16.17 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1306, allocations: 107.7 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.1309, allocations: 203.6 kB / 472.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1309, allocations: 0 / 472.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.131, allocations: 31.98 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1311, allocations: 87.62 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.1312, allocations: 95 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.1315, allocations: 187.8 kB / 472.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1315, allocations: 0 / 472.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1315, allocations: 0 / 472.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1315, allocations: 0 / 472.9 MB, free: 11.03 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.0007804/0.1323, allocations: 0.634 MB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1323, allocations: 12.02 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.1324, allocations: 44.38 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.1327, allocations: 300.1 kB / 473.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-06/0.1327, allocations: 384 / 473.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1328, allocations: 4.375 kB / 473.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1329, allocations: 57.61 kB / 474 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.133, allocations: 4 kB / 474 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.133, allocations: 3.984 kB / 474 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.133, allocations: 4 kB / 474 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.1331, allocations: 35.97 kB / 474 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.1336, allocations: 380.7 kB / 474.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1337, allocations: 42.56 kB / 474.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.1338, allocations: 24.94 kB / 474.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1338, allocations: 3.938 kB / 474.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1339, allocations: 38.56 kB / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1339, allocations: 0 / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008314/0.1347, allocations: 287.9 kB / 474.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1348, allocations: 51.41 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.1356, allocations: 0.8534 MB / 475.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1356, allocations: 25.7 kB / 475.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1357, allocations: 216 kB / 475.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1358, allocations: 23.66 kB / 476 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.1358, allocations: 25.66 kB / 476 MB, free: 7.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.136, allocations: 366.7 kB / 476.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1361, allocations: 31.97 kB / 476.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1362, allocations: 31.97 kB / 476.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.1364, allocations: 72.81 kB / 476.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1364, allocations: 0 / 476.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003015/0.1367, allocations: 145.1 kB / 476.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1368, allocations: 4 kB / 476.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1368, allocations: 0 / 476.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1368, allocations: 4 kB / 476.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1369, allocations: 23.92 kB / 476.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1369, allocations: 4 kB / 476.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.137, allocations: 16.2 kB / 476.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.137, allocations: 0 / 476.7 MB, free: 7.074 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 0.0001844/0.1372, allocations: 214.3 kB / 476.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.1373, allocations: 39.53 kB / 476.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.1376, allocations: 169.4 kB / 477.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1377, allocations: 0 / 477.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1377, allocations: 0 / 477.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1377, allocations: 7.938 kB / 477.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.1383, allocations: 490.8 kB / 477.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1383, allocations: 0 / 477.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/0.1384, allocations: 27.97 kB / 477.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1384, allocations: 4 kB / 477.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1384, allocations: 3.938 kB / 477.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1384, allocations: 0 / 477.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1384, allocations: 4.016 kB / 477.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1388, allocations: 242.9 kB / 477.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.1388, allocations: 112.5 kB / 477.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1389, allocations: 7.938 kB / 478 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.139, allocations: 7.984 kB / 478 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.139, allocations: 11.98 kB / 478 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.139, allocations: 0 / 478 MB, free: 5.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005668/0.1396, allocations: 0.6433 MB / 478.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1396, allocations: 0 / 478.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1399, allocations: 28 kB / 478.6 MB, free: 4.98 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.0009252/0.1408, allocations: 402.3 kB / 479 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.1411, allocations: 79.86 kB / 479.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1411, allocations: 0 / 479.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1412, allocations: 43.97 kB / 479.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1417, allocations: 29.61 kB / 479.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1428, allocations: 0.9084 MB / 480.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.1432, allocations: 0.8185 MB / 480.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.1432, allocations: 11.44 kB / 480.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1432, allocations: 4 kB / 480.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of Templates: time 0.006883/0.1501, allocations: 3.757 MB / 484.7 MB, free: 15.02 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches