Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009642/0.0009643, allocations: 99.84 kB / 17 MB, free: 6.418 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.0007773/0.0007773, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.412/1.412, allocations: 223.2 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 12 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 61.93 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001966/0.1258, allocations: 1.322 MB / 472.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006975/0.1265, allocations: 403.5 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.1266, allocations: 0 / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.1271, allocations: 443.2 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.1275, allocations: 243.6 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1278, allocations: 111.4 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.128, allocations: 135.6 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.67e-05/0.1281, allocations: 19.98 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.1283, allocations: 107.8 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1286, allocations: 163.7 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1286, allocations: 3.938 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1287, allocations: 43.98 kB / 474.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.1289, allocations: 87.67 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.1289, allocations: 65.52 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1292, allocations: 191.7 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1292, allocations: 3.938 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1292, allocations: 0 / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1292, allocations: 0 / 474.9 MB, free: 10.39 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006908/0.1299, allocations: 0.603 MB / 475.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.13, allocations: 8.562 kB / 475.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.13, allocations: 43.44 kB / 475.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1303, allocations: 271.4 kB / 475.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1303, allocations: 8 kB / 475.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1303, allocations: 4 kB / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1305, allocations: 73.56 kB / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1305, allocations: 0 / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1306, allocations: 0 / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1306, allocations: 0 / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1307, allocations: 51.91 kB / 476 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.1312, allocations: 400.6 kB / 476.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.1314, allocations: 62.55 kB / 476.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.1315, allocations: 28.97 kB / 476.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1316, allocations: 7.938 kB / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1316, allocations: 30.56 kB / 476.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1316, allocations: 0 / 476.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001501/0.1331, allocations: 0.5309 MB / 477 MB, free: 8.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1331, allocations: 51.41 kB / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007972/0.134, allocations: 0.8573 MB / 477.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.134, allocations: 33.7 kB / 477.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1342, allocations: 212.1 kB / 478.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.1342, allocations: 35.41 kB / 478.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-06/0.1342, allocations: 4 kB / 478.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1344, allocations: 358.8 kB / 478.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1345, allocations: 55.97 kB / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1346, allocations: 43.97 kB / 478.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1347, allocations: 60.23 kB / 478.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1348, allocations: 0 / 478.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003197/0.1351, allocations: 197 kB / 478.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.1351, allocations: 8 kB / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1351, allocations: 0 / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1351, allocations: 0 / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1353, allocations: 27.98 kB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1353, allocations: 0 / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.1353, allocations: 15.98 kB / 478.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1354, allocations: 7.953 kB / 478.9 MB, free: 6.125 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 (11): * Single equations (assignments): 11 * 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 0.0001808/0.1355, allocations: 221.8 kB / 479.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.1356, allocations: 39.44 kB / 479.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/0.136, allocations: 221.9 kB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.136, allocations: 0 / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.136, allocations: 0 / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.136, allocations: 0 / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.1367, allocations: 0.578 MB / 480 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.1368, allocations: 7.984 kB / 480 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.1369, allocations: 32.14 kB / 480 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.1369, allocations: 7.938 kB / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1369, allocations: 4 kB / 480 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1369, allocations: 7.953 kB / 480.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1369, allocations: 0 / 480.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.1373, allocations: 292.6 kB / 480.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.1374, allocations: 116.5 kB / 480.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.1374, allocations: 4 kB / 480.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.1375, allocations: 15.98 kB / 480.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.1376, allocations: 19.92 kB / 480.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1376, allocations: 4 kB / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006075/0.1382, allocations: 0.6433 MB / 481.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1382, allocations: 0 / 481.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1385, allocations: 32 kB / 481.2 MB, free: 3.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00116/0.1397, allocations: 464.9 kB / 481.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.14, allocations: 119.9 kB / 481.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.14, allocations: 0 / 481.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1402, allocations: 72.02 kB / 481.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.1406, allocations: 21.97 kB / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.1417, allocations: 0.8979 MB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.1422, allocations: 0.8302 MB / 483.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.1423, allocations: 8.375 kB / 483.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.1423, allocations: 23.42 kB / 483.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1423, allocations: 0 / 483.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of Templates: time 0.004846/0.1472, allocations: 1.657 MB / 485.2 MB, free: 15.82 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches