Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 106.2 kB / 16.64 MB, free: 6.82 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.001188/0.001188, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.429/1.429, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2117/0.2117, allocations: 43.51 MB / 314.3 MB, free: 0.7109 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.001417/0.001417, allocations: 65.39 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1184, allocations: 57.79 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003074/0.1215, allocations: 1.65 MB / 442.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005408/0.1221, allocations: 331.5 kB / 442.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.1222, allocations: 4 kB / 442.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.1226, allocations: 447.2 kB / 443.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.123, allocations: 247.5 kB / 443.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.1233, allocations: 111.4 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1235, allocations: 151.7 kB / 443.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1236, allocations: 20.38 kB / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.386e-05/0.1237, allocations: 107.7 kB / 443.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1238, allocations: 215.6 kB / 443.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1239, allocations: 7.984 kB / 443.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.124, allocations: 39.92 kB / 444 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.1241, allocations: 83.69 kB / 444 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.1241, allocations: 91.06 kB / 444.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1243, allocations: 187.8 kB / 444.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1243, allocations: 3.938 kB / 444.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1243, allocations: 0 / 444.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.1243, allocations: 0 / 444.3 MB, free: 3.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005933/0.1249, allocations: 0.6368 MB / 444.9 MB, free: 3.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.125, allocations: 11.89 kB / 445 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.1251, allocations: 44.45 kB / 445 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1253, allocations: 288.2 kB / 445.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1253, allocations: 4.359 kB / 445.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1253, allocations: 4.375 kB / 445.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1254, allocations: 57.61 kB / 445.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1255, allocations: 0 / 445.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1255, allocations: 0 / 445.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1255, allocations: 4 kB / 445.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.1256, allocations: 23.98 kB / 445.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.126, allocations: 388.6 kB / 445.8 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1262, allocations: 38.56 kB / 445.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.1263, allocations: 24.94 kB / 445.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1263, allocations: 0 / 445.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.1263, allocations: 34.5 kB / 445.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.1264, allocations: 0 / 445.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005677/0.1269, allocations: 224 kB / 446.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.127, allocations: 55.34 kB / 446.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.1275, allocations: 0.8652 MB / 447 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.1276, allocations: 25.7 kB / 447 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1277, allocations: 216.1 kB / 447.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.1277, allocations: 19.75 kB / 447.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1278, allocations: 21.64 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.1278, allocations: 358.8 kB / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.1279, allocations: 15.98 kB / 447.6 MB, free: 152 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/0.128, allocations: 27.92 kB / 447.7 MB, free: 124 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.1281, allocations: 49.02 kB / 447.7 MB, free: 72 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1281, allocations: 0 / 447.7 MB, free: 72 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001999/0.1283, allocations: 121 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1283, allocations: 4 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1283, allocations: 0 / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1283, allocations: 0 / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.1284, allocations: 19.98 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1284, allocations: 0 / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.1285, allocations: 3.938 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.1285, allocations: 4 kB / 447.9 MB, free: 15.91 MB / 334.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.0001872/0.1287, allocations: 221.7 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.1287, allocations: 39.44 kB / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.129, allocations: 137 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.129, allocations: 3.984 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.129, allocations: 0 / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.129, allocations: 3.938 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.1295, allocations: 454.5 kB / 448.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1296, allocations: 0 / 448.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.1296, allocations: 8 kB / 448.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1296, allocations: 4 kB / 448.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1296, allocations: 7.938 kB / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1296, allocations: 0 / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1297, allocations: 4.125 kB / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1299, allocations: 211 kB / 448.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.13, allocations: 108.5 kB / 449 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.13, allocations: 7.938 kB / 449 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.1301, allocations: 11.98 kB / 449.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.1301, allocations: 4 kB / 449.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1301, allocations: 0 / 449.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005528/0.1307, allocations: 0.6472 MB / 449.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1307, allocations: 0 / 449.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.131, allocations: 23.98 kB / 449.7 MB, free: 13.94 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 (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.0009616/0.1319, allocations: 393 kB / 450.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1321, allocations: 59.89 kB / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1322, allocations: 0 / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.1322, allocations: 23.98 kB / 450.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1327, allocations: 29.23 kB / 450.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1338, allocations: 0.8906 MB / 451.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1342, allocations: 0.8182 MB / 451.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.1342, allocations: 15.44 kB / 451.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1342, allocations: 0 / 451.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of Templates: time 0.006535/0.1407, allocations: 3.656 MB / 455.6 MB, free: 8.082 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches