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.001129/0.001129, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001229/0.001229, allocations: 192 kB / 18.56 MB, free: 4.434 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.319/1.319, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2022/0.2022, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 64.55 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1291, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003177/0.1324, allocations: 1.635 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007309/0.1331, allocations: 435.1 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.1332, allocations: 4 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.1337, allocations: 447.1 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.1341, allocations: 255.4 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1344, allocations: 134.9 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1346, allocations: 167.7 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1347, allocations: 15.98 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1349, allocations: 111.8 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.1351, allocations: 219.5 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1351, allocations: 4 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.1353, allocations: 47.98 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1354, allocations: 87.61 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.1355, allocations: 99.06 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.1358, allocations: 266.9 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1358, allocations: 0 / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1358, allocations: 3.984 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1358, allocations: 7.938 kB / 473.1 MB, free: 10.47 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.000766/0.1366, allocations: 0.6378 MB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1366, allocations: 8.031 kB / 473.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.1367, allocations: 44.38 kB / 473.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1369, allocations: 296.1 kB / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.137, allocations: 384 / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.137, allocations: 4.375 kB / 474.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1372, allocations: 77.73 kB / 474.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1372, allocations: 0 / 474.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1372, allocations: 0 / 474.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1372, allocations: 0 / 474.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1374, allocations: 35.97 kB / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.1379, allocations: 400.6 kB / 474.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.1381, allocations: 58.55 kB / 474.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.1382, allocations: 24.97 kB / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1383, allocations: 0 / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1383, allocations: 38.56 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1383, allocations: 0 / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001499/0.1398, allocations: 468 kB / 475.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.1399, allocations: 59.34 kB / 475.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008702/0.1408, allocations: 0.8496 MB / 476.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1408, allocations: 29.7 kB / 476.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1409, allocations: 215.9 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.141, allocations: 43.39 kB / 476.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.141, allocations: 25.72 kB / 476.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1412, allocations: 358.8 kB / 476.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1413, allocations: 43.97 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1414, allocations: 39.97 kB / 476.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.1417, allocations: 100.8 kB / 476.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1417, allocations: 0 / 476.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003228/0.142, allocations: 176.9 kB / 477.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1421, allocations: 8 kB / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1421, allocations: 0 / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.1421, allocations: 0 / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1422, allocations: 31.92 kB / 477.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1422, allocations: 0 / 477.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.1423, allocations: 15.98 kB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1423, allocations: 0 / 477.2 MB, free: 6.203 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 0.0001824/0.1425, allocations: 217.8 kB / 477.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.1426, allocations: 39.47 kB / 477.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.143, allocations: 209.2 kB / 477.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.143, allocations: 3.938 kB / 477.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.143, allocations: 4 kB / 477.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.143, allocations: 0 / 477.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.1438, allocations: 0.5624 MB / 478.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1438, allocations: 0 / 478.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.1439, allocations: 27.97 kB / 478.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1439, allocations: 4 kB / 478.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1439, allocations: 0 / 478.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.44e-05/0.144, allocations: 4 kB / 478.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.144, allocations: 3.938 kB / 478.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.1444, allocations: 284.6 kB / 478.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1445, allocations: 112.5 kB / 478.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.1445, allocations: 4 kB / 478.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.1446, allocations: 7.984 kB / 478.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1447, allocations: 12 kB / 478.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.1447, allocations: 8.109 kB / 478.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006517/0.1453, allocations: 0.6473 MB / 479.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1453, allocations: 7.875 kB / 479.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1456, allocations: 28 kB / 479.3 MB, free: 3.914 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.001022/0.1467, allocations: 458.2 kB / 479.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.147, allocations: 115.9 kB / 479.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.147, allocations: 0 / 479.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1471, allocations: 63.91 kB / 480 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.1476, allocations: 41.53 kB / 480 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.1488, allocations: 0.8439 MB / 480.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.1493, allocations: 0.8338 MB / 481.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.222e-05/0.1494, allocations: 16.41 kB / 481.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.1494, allocations: 11.44 kB / 481.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1494, allocations: 0 / 481.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Templates: time 0.005857/0.1553, allocations: 1.825 MB / 483.5 MB, free: 15.85 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