Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, 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.001272/0.001272, 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.575/1.575, allocations: 222.9 MB / 242.4 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.222/0.222, allocations: 44.18 MB / 336.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 58.92 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1205, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004146/0.1247, allocations: 2.011 MB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1267, allocations: 0.9473 MB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.1269, allocations: 4 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000504/0.1274, allocations: 251.4 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.1279, allocations: 179.5 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1293, allocations: 0.6135 MB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.1299, allocations: 287.2 kB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.1301, allocations: 76.55 kB / 473.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.1304, allocations: 131.5 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.1308, allocations: 191.3 kB / 473.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.1308, allocations: 8 kB / 473.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.1311, allocations: 71.89 kB / 473.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.1312, allocations: 83.73 kB / 474 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.1314, allocations: 107 kB / 474.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1318, allocations: 227.6 kB / 474.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1318, allocations: 0 / 474.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1318, allocations: 0 / 474.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1318, allocations: 0 / 474.3 MB, free: 9.648 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008363/0.1326, allocations: 0.6302 MB / 475 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1327, allocations: 12.03 kB / 475 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.944e-05/0.1328, allocations: 36.47 kB / 475 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.1332, allocations: 306.3 kB / 475.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1332, allocations: 8.375 kB / 475.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.1332, allocations: 12.38 kB / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1335, allocations: 129.7 kB / 475.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1335, allocations: 4 kB / 475.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1336, allocations: 0 / 475.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.1336, allocations: 7.938 kB / 475.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.1338, allocations: 91.88 kB / 475.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.1345, allocations: 0.504 MB / 476.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.1347, allocations: 102.5 kB / 476.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.537e-05/0.1348, allocations: 41.05 kB / 476.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1349, allocations: 7.938 kB / 476.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1349, allocations: 38.56 kB / 476.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.1349, allocations: 4 kB / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001017/0.136, allocations: 435.8 kB / 476.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.136, allocations: 51.41 kB / 476.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/0.1366, allocations: 0.5249 MB / 477.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1366, allocations: 29.7 kB / 477.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1367, allocations: 196.3 kB / 477.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.257e-05/0.1368, allocations: 59.11 kB / 477.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.1369, allocations: 41.64 kB / 477.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.137, allocations: 346.8 kB / 477.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.1372, allocations: 67.95 kB / 478 MB, free: 5.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.1374, allocations: 70.14 kB / 478.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.1376, allocations: 152.8 kB / 478.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1377, allocations: 7.938 kB / 478.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003755/0.138, allocations: 226.9 kB / 478.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1381, allocations: 4 kB / 478.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1381, allocations: 0 / 478.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1381, allocations: 4 kB / 478.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1383, allocations: 31.98 kB / 478.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1383, allocations: 4 kB / 478.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.1383, allocations: 7.984 kB / 478.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.1384, allocations: 12 kB / 478.5 MB, free: 5.266 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 (17): * Single equations (assignments): 17 * 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.0002144/0.1386, allocations: 181.7 kB / 478.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.1387, allocations: 39.52 kB / 478.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.1392, allocations: 271.4 kB / 479 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1392, allocations: 0 / 479 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1392, allocations: 0 / 479 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1393, allocations: 7.984 kB / 479 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008371/0.1401, allocations: 0.6621 MB / 479.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1401, allocations: 4 kB / 479.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1402, allocations: 31.92 kB / 479.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1402, allocations: 0 / 479.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1403, allocations: 11.94 kB / 479.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1403, allocations: 0 / 479.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1403, allocations: 3.938 kB / 479.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.1407, allocations: 324.8 kB / 480 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.1408, allocations: 104.7 kB / 480.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.1408, allocations: 8 kB / 480.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.1409, allocations: 8 kB / 480.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.141, allocations: 23.8 kB / 480.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.141, allocations: 4 kB / 480.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003731/0.1414, allocations: 395.1 kB / 480.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1414, allocations: 0 / 480.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1417, allocations: 51.98 kB / 480.6 MB, free: 3.059 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 (17): * Single equations (assignments): 17 * 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.001621/0.1433, allocations: 0.6974 MB / 481.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.1437, allocations: 166.4 kB / 481.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1437, allocations: 0 / 481.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1439, allocations: 87.89 kB / 481.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.1445, allocations: 77.56 kB / 481.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1456, allocations: 0.7833 MB / 482.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.146, allocations: 0.8107 MB / 483.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.1461, allocations: 31.42 kB / 483.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1461, allocations: 0 / 483.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of Templates: time 0.007474/0.1535, allocations: 4.53 MB / 487.8 MB, free: 12.15 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches