Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008972, allocations: 96.72 kB / 18.01 MB, free: 5.734 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.0009411/0.0009414, allocations: 179.3 kB / 18.91 MB, free: 4.871 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.395/1.395, allocations: 223.3 MB / 243 MB, free: 208 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.2044/0.2044, allocations: 44.24 MB / 338.3 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002215/0.1361, allocations: 1.326 MB / 474.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008291/0.1369, allocations: 411.3 kB / 474.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.137, allocations: 0 / 474.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005542/0.1376, allocations: 443.2 kB / 475.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.1379, allocations: 251.5 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.1383, allocations: 114.7 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.1386, allocations: 147.8 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1387, allocations: 24.11 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1389, allocations: 107.7 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.1392, allocations: 191.6 kB / 475.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.1392, allocations: 4 kB / 475.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.1393, allocations: 31.98 kB / 475.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1394, allocations: 83.58 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.1395, allocations: 120.8 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1397, allocations: 183.7 kB / 476.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1397, allocations: 0 / 476.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1398, allocations: 3.938 kB / 476.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1398, allocations: 0 / 476.3 MB, free: 9.906 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.0007009/0.1405, allocations: 0.5836 MB / 476.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1405, allocations: 12.03 kB / 476.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.1406, allocations: 36.47 kB / 476.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1409, allocations: 296.1 kB / 477.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1409, allocations: 12.38 kB / 477.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.141, allocations: 384 / 477.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1411, allocations: 57.62 kB / 477.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1412, allocations: 0 / 477.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1412, allocations: 0 / 477.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1412, allocations: 0 / 477.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1413, allocations: 27.98 kB / 477.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.1418, allocations: 388.6 kB / 477.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1421, allocations: 46.55 kB / 477.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.1421, allocations: 16.86 kB / 477.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1422, allocations: 0 / 477.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1422, allocations: 34.56 kB / 477.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1422, allocations: 0 / 477.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007066/0.1429, allocations: 240 kB / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.143, allocations: 59.41 kB / 478.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008236/0.1438, allocations: 0.8573 MB / 479 MB, free: 7.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1438, allocations: 25.7 kB / 479 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.144, allocations: 224 kB / 479.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1441, allocations: 11.8 kB / 479.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.1441, allocations: 17.72 kB / 479.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1443, allocations: 358.8 kB / 479.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.1443, allocations: 19.98 kB / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.1444, allocations: 23.98 kB / 479.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1446, allocations: 60.77 kB / 479.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1446, allocations: 0 / 479.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002341/0.1448, allocations: 121.3 kB / 479.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1448, allocations: 8 kB / 479.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1449, allocations: 4.062 kB / 479.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1449, allocations: 0 / 479.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.1449, allocations: 23.92 kB / 479.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.145, allocations: 0 / 479.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.162e-05/0.145, allocations: 11.92 kB / 479.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.145, allocations: 3.938 kB / 479.9 MB, free: 6.141 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 (5): * Single equations (assignments): 5 * 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.0001915/0.1452, allocations: 210.3 kB / 480.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.1453, allocations: 43.44 kB / 480.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.1456, allocations: 141.1 kB / 480.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1456, allocations: 288 / 480.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1456, allocations: 4 kB / 480.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1456, allocations: 3.938 kB / 480.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.1462, allocations: 470.4 kB / 480.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1462, allocations: 0 / 480.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.1463, allocations: 12 kB / 480.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1463, allocations: 0 / 480.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1463, allocations: 11.94 kB / 480.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1463, allocations: 3.984 kB / 480.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1463, allocations: 0 / 480.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1466, allocations: 215 kB / 480.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.1467, allocations: 112.5 kB / 481.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.1467, allocations: 7.922 kB / 481.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.1468, allocations: 8 kB / 481.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.1468, allocations: 12.17 kB / 481.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.1468, allocations: 4 kB / 481.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006009/0.1475, allocations: 0.6472 MB / 481.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1475, allocations: 0 / 481.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1477, allocations: 24 kB / 481.8 MB, free: 4.129 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 (5): * Single equations (assignments): 5 * 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.0009633/0.1487, allocations: 400.6 kB / 482.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.1489, allocations: 59.91 kB / 482.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.149, allocations: 0 / 482.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.149, allocations: 31.98 kB / 482.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1494, allocations: 21.95 kB / 482.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1507, allocations: 0.8898 MB / 483.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.1511, allocations: 0.8185 MB / 484 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.1512, allocations: 19.42 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1512, allocations: 0 / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of Templates: time 0.007347/0.1585, allocations: 3.585 MB / 487.6 MB, free: 14.41 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches