Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 109.9 kB / 16.64 MB, free: 6.367 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.001185/0.001185, allocations: 193.9 kB / 17.56 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2192/0.2192, allocations: 43.51 MB / 314.3 MB, free: 0.6953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 66.81 kB / 382.9 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1247, allocations: 57.79 MB / 440.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.004435/0.1292, allocations: 1.665 MB / 442.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000874/0.1301, allocations: 0.6721 MB / 443 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.1302, allocations: 4 kB / 443 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.1305, allocations: 23.91 kB / 443 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.1307, allocations: 35.89 kB / 443.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.759e-06/0.1308, allocations: 0 / 443.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1309, allocations: 39.89 kB / 443.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.131, allocations: 288 / 443.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.453e-05/0.131, allocations: 7.938 kB / 443.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.1311, allocations: 23.91 kB / 443.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1311, allocations: 4 kB / 443.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.425e-05/0.1312, allocations: 15.94 kB / 443.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.1312, allocations: 15.92 kB / 443.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.1313, allocations: 19.81 kB / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1314, allocations: 55.86 kB / 443.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1314, allocations: 0 / 443.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1315, allocations: 3.938 kB / 443.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1315, allocations: 0 / 443.2 MB, free: 4.742 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003574/0.1318, allocations: 359.3 kB / 443.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1319, allocations: 19.89 kB / 443.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.1319, allocations: 4.844 kB / 443.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1321, allocations: 180.2 kB / 443.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1321, allocations: 384 / 443.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1321, allocations: 4.375 kB / 443.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1323, allocations: 120.4 kB / 443.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1323, allocations: 4.188 kB / 443.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1323, allocations: 3.938 kB / 443.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/0.1324, allocations: 31.91 kB / 444 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.1324, allocations: 43.91 kB / 444 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.133, allocations: 0.8906 MB / 444.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.1331, allocations: 169.1 kB / 445.1 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.1331, allocations: 80.14 kB / 445.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1331, allocations: 79.22 kB / 445.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1331, allocations: 117.9 kB / 445.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1331, allocations: 0 / 445.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 8.397e-05/0.1332, allocations: 33.61 kB / 445.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1333, allocations: 126.7 kB / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1334, allocations: 187.2 kB / 445.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.1334, allocations: 25.7 kB / 445.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.1335, allocations: 159 kB / 445.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-06/0.1335, allocations: 3.984 kB / 445.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.1336, allocations: 49.61 kB / 445.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.1336, allocations: 322.8 kB / 446.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/0.1337, allocations: 27.98 kB / 446.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/0.1338, allocations: 164.1 kB / 446.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1339, allocations: 204.9 kB / 446.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.134, allocations: 0 / 446.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002896/0.1342, allocations: 201.5 kB / 446.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.1343, allocations: 8 kB / 446.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.1343, allocations: 4 kB / 446.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.1343, allocations: 8 kB / 446.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1345, allocations: 35.92 kB / 446.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1345, allocations: 4 kB / 446.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.1346, allocations: 23.84 kB / 446.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1346, allocations: 15.98 kB / 446.9 MB, free: 0.7031 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.121e-05/0.1347, allocations: 221.1 kB / 447.1 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.1347, allocations: 120.8 kB / 447.2 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.1348, allocations: 116.8 kB / 447.3 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/0.1348, allocations: 184.2 kB / 447.5 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.623e-05/0.1349, allocations: 180.3 kB / 447.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-05/0.135, allocations: 176.3 kB / 447.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.1352, allocations: 429.1 kB / 448.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/0.1353, allocations: 104.9 kB / 448.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.1353, allocations: 112.9 kB / 448.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-05/0.1354, allocations: 180.2 kB / 448.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.1355, allocations: 176.3 kB / 448.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.83e-05/0.1356, allocations: 184.2 kB / 449 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.985e-05/0.1356, allocations: 184.3 kB / 449.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1358, allocations: 307.7 kB / 449.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1359, allocations: 193.9 kB / 449.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.651e-05/0.136, allocations: 180.3 kB / 449.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.1361, allocations: 109 kB / 450 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.1362, allocations: 184.2 kB / 450.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.1363, allocations: 101 kB / 450.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1364, allocations: 123.2 kB / 450.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1364, allocations: 3.938 kB / 450.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00034/0.1368, allocations: 16 kB / 450.4 MB, free: 12.97 MB / 334.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 (0): * Single equations (assignments): 0 * 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.0005508/0.1373, allocations: 283.9 kB / 450.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.1375, allocations: 71.78 kB / 450.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1375, allocations: 1.25 kB / 450.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.1375, allocations: 0 / 450.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1379, allocations: 474.4 kB / 451.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.1383, allocations: 298.8 kB / 451.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1386, allocations: 0.7006 MB / 452.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1388, allocations: 19.42 kB / 452.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1388, allocations: 0 / 452.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of Templates: time 0.003238/0.142, allocations: 1.271 MB / 453.5 MB, free: 9.859 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches