Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007915/0.0007915, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.0008028/0.000803, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.432/1.432, allocations: 223.3 MB / 242.3 MB, free: 224 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.202/0.202, allocations: 44.24 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003458, allocations: 15.92 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 61.93 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002354/0.1249, allocations: 1.659 MB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1266, allocations: 0.9279 MB / 474.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1268, allocations: 4 kB / 474.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.1274, allocations: 247.4 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.1277, allocations: 183.5 kB / 475.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.1291, allocations: 0.615 MB / 475.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.1295, allocations: 287.2 kB / 476.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1297, allocations: 84.55 kB / 476.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1298, allocations: 111.5 kB / 476.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.13, allocations: 187.3 kB / 476.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1301, allocations: 4 kB / 476.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.1303, allocations: 83.97 kB / 476.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1304, allocations: 87.61 kB / 476.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.711e-05/0.1305, allocations: 124.8 kB / 476.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1308, allocations: 302.9 kB / 477.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1308, allocations: 4 kB / 477.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1308, allocations: 7.938 kB / 477.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1308, allocations: 0 / 477.1 MB, free: 8.473 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.0006573/0.1315, allocations: 0.5837 MB / 477.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1315, allocations: 8.031 kB / 477.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.1316, allocations: 36.47 kB / 477.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1319, allocations: 306.3 kB / 478.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1319, allocations: 8.375 kB / 478.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.132, allocations: 12.38 kB / 478.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1322, allocations: 129.7 kB / 478.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1322, allocations: 0 / 478.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1323, allocations: 11.94 kB / 478.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1323, allocations: 4 kB / 478.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.1325, allocations: 95.86 kB / 478.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/0.1331, allocations: 0.4963 MB / 478.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.1333, allocations: 114.5 kB / 478.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.938e-05/0.1334, allocations: 40.84 kB / 479 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.1334, allocations: 7.984 kB / 479 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1335, allocations: 30.56 kB / 479 MB, free: 6.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1335, allocations: 4.219 kB / 479 MB, free: 6.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009427/0.1344, allocations: 451.9 kB / 479.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1345, allocations: 55.41 kB / 479.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.135, allocations: 0.5249 MB / 480 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.135, allocations: 29.7 kB / 480.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1351, allocations: 200.3 kB / 480.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.1352, allocations: 63.09 kB / 480.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.1352, allocations: 17.72 kB / 480.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1354, allocations: 350.8 kB / 480.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1355, allocations: 71.95 kB / 480.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.1356, allocations: 71.89 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.1359, allocations: 159 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1359, allocations: 7.938 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003523/0.1363, allocations: 241 kB / 481.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1363, allocations: 4 kB / 481.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1363, allocations: 0 / 481.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1363, allocations: 0 / 481.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1365, allocations: 39.92 kB / 481.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1365, allocations: 7.984 kB / 481.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.1366, allocations: 8 kB / 481.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1366, allocations: 4 kB / 481.3 MB, free: 4.102 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.0001551/0.1368, allocations: 185.7 kB / 481.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.1368, allocations: 39.52 kB / 481.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.1373, allocations: 279.2 kB / 481.8 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1373, allocations: 4 kB / 481.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1373, allocations: 4 kB / 481.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1373, allocations: 3.984 kB / 481.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.1382, allocations: 0.6738 MB / 482.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1382, allocations: 0 / 482.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1383, allocations: 31.98 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1383, allocations: 3.938 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1383, allocations: 12 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1383, allocations: 0 / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1383, allocations: 3.938 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.1387, allocations: 336.6 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.1388, allocations: 116.7 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.1388, allocations: 4 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.1389, allocations: 12 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.139, allocations: 15.91 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.139, allocations: 4 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.1394, allocations: 395.1 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1394, allocations: 0 / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.1397, allocations: 55.89 kB / 483.4 MB, free: 1.848 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.001655/0.1414, allocations: 0.6911 MB / 484.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.1417, allocations: 171.8 kB / 484.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1417, allocations: 0 / 484.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1419, allocations: 102.5 kB / 484.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.1425, allocations: 65.52 kB / 484.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1436, allocations: 0.7987 MB / 485.3 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.1441, allocations: 0.8223 MB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.1442, allocations: 45.91 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.1443, allocations: 31.42 kB / 486.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1443, allocations: 7.938 kB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Templates: time 0.006763/0.151, allocations: 3.108 MB / 489.3 MB, free: 12.29 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches