Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001258/0.001258, allocations: 187 kB / 19.34 MB, free: 3.641 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.335/1.335, allocations: 222.9 MB / 243 MB, free: 15.08 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.196/0.196, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001994, allocations: 64.64 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1302, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003917/0.1342, allocations: 1.633 MB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009276/0.1351, allocations: 435 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.745e-05/0.1353, allocations: 0 / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.1356, allocations: 55.81 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.1359, allocations: 51.75 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.1363, allocations: 131 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1365, allocations: 75.83 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1366, allocations: 27.97 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.1367, allocations: 31.86 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1368, allocations: 51.75 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1369, allocations: 4 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.137, allocations: 43.98 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.1371, allocations: 23.92 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.1371, allocations: 31.8 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1373, allocations: 103.7 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1373, allocations: 0 / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1373, allocations: 0 / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1373, allocations: 0 / 473.4 MB, free: 10.95 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.0005039/0.1378, allocations: 411 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1379, allocations: 8.031 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.1379, allocations: 12.75 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.1381, allocations: 192.8 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1382, allocations: 8.375 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1382, allocations: 11.83 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1384, allocations: 73.55 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1384, allocations: 0 / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1384, allocations: 0 / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1384, allocations: 0 / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1385, allocations: 35.97 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1389, allocations: 304.8 kB / 474.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.1392, allocations: 54.55 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.156e-05/0.1392, allocations: 24.97 kB / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1393, allocations: 0 / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1393, allocations: 38.56 kB / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.1393, allocations: 0 / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001351/0.1407, allocations: 396.8 kB / 474.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1407, allocations: 55.41 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1409, allocations: 172.1 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1409, allocations: 33.7 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.141, allocations: 104.1 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.853e-05/0.1411, allocations: 35.45 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.1411, allocations: 25.66 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1413, allocations: 326.8 kB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1414, allocations: 39.97 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1415, allocations: 48.06 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1417, allocations: 96.97 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1417, allocations: 0 / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002797/0.142, allocations: 145.4 kB / 476 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.142, allocations: 8 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1421, allocations: 4 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1421, allocations: 0 / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1422, allocations: 31.97 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1422, allocations: 0 / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.1423, allocations: 8 kB / 476 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1423, allocations: 3.984 kB / 476 MB, free: 8.066 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/0.1424, allocations: 125.8 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.1424, allocations: 15.75 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.1428, allocations: 162.3 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1428, allocations: 4.562 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1428, allocations: 0 / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1428, allocations: 0 / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.1434, allocations: 479.9 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.1434, allocations: 8 kB / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.1436, allocations: 23.98 kB / 476.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1436, allocations: 3.984 kB / 476.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1436, allocations: 0 / 476.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1436, allocations: 4 kB / 476.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1436, allocations: 0 / 476.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.1439, allocations: 253 kB / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.144, allocations: 89 kB / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.144, allocations: 4 kB / 477.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1441, allocations: 15.98 kB / 477.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.1442, allocations: 4 kB / 477.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1442, allocations: 7.938 kB / 477.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1443, allocations: 141.5 kB / 477.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1443, allocations: 3.938 kB / 477.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1446, allocations: 24 kB / 477.4 MB, free: 6.609 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 (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.001142/0.1457, allocations: 452.1 kB / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.1461, allocations: 111.9 kB / 477.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1461, allocations: 0 / 477.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1462, allocations: 67.84 kB / 478 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1466, allocations: 15.98 kB / 478 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.1472, allocations: 279.6 kB / 478.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1476, allocations: 0.7042 MB / 479 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.576e-05/0.1477, allocations: 20.39 kB / 479 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.1477, allocations: 15.44 kB / 479 MB, free: 5.082 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1478, allocations: 0 / 479 MB, free: 5.082 MB / 350.1 MB Notification: Performance of Templates: time 0.004202/0.152, allocations: 1.537 MB / 480.6 MB, free: 3.559 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches