Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 107.7 kB / 17.03 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.001904/0.001904, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.648/1.648, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2275/0.2275, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 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.001744/0.001744, allocations: 69.09 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1398, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.003622/0.1434, allocations: 1.604 MB / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006395/0.1441, allocations: 331.4 kB / 443.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.1442, allocations: 4 kB / 443.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.1449, allocations: 451.1 kB / 444.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.1453, allocations: 251.5 kB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1457, allocations: 119.3 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.146, allocations: 163.7 kB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1461, allocations: 20.11 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1463, allocations: 107.8 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1465, allocations: 219.5 kB / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1465, allocations: 4 kB / 445.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.1466, allocations: 28 kB / 445.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1468, allocations: 79.69 kB / 445.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.1469, allocations: 111 kB / 445.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1472, allocations: 251 kB / 445.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.1472, allocations: 0 / 445.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1472, allocations: 0 / 445.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.1472, allocations: 0 / 445.7 MB, free: 2.426 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.0007026/0.148, allocations: 0.6375 MB / 446.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.148, allocations: 11.89 kB / 446.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.1481, allocations: 44.38 kB / 446.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1483, allocations: 292.2 kB / 446.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1484, allocations: 384 / 446.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1484, allocations: 4.375 kB / 446.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1485, allocations: 65.55 kB / 446.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1486, allocations: 0 / 446.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1486, allocations: 0 / 446.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1486, allocations: 4 kB / 446.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1487, allocations: 35.91 kB / 446.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.1491, allocations: 388.6 kB / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1492, allocations: 46.48 kB / 447.2 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.1493, allocations: 28.94 kB / 447.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1493, allocations: 0 / 447.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1494, allocations: 38.55 kB / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.1494, allocations: 0 / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000701/0.1501, allocations: 287.8 kB / 447.5 MB, free: 404 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1501, allocations: 51.41 kB / 447.6 MB, free: 340 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/0.1509, allocations: 0.8573 MB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.151, allocations: 25.7 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.1512, allocations: 208.1 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1512, allocations: 31.55 kB / 448.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.1513, allocations: 17.72 kB / 448.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1515, allocations: 358.8 kB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1516, allocations: 35.97 kB / 449.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.056e-05/0.1517, allocations: 32.05 kB / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.1519, allocations: 77.02 kB / 449.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1519, allocations: 4 kB / 449.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002951/0.1522, allocations: 141.1 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1522, allocations: 5.25 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1522, allocations: 4 kB / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1522, allocations: 0 / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1524, allocations: 19.97 kB / 449.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1524, allocations: 4 kB / 449.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1525, allocations: 11.94 kB / 449.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1525, allocations: 3.984 kB / 449.4 MB, free: 14.47 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 (7): * Single equations (assignments): 7 * 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.0002612/0.1527, allocations: 213.7 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.1528, allocations: 43.44 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.1531, allocations: 165.4 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1532, allocations: 0 / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1532, allocations: 7.984 kB / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1532, allocations: 3.938 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.1538, allocations: 494.4 kB / 450.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1538, allocations: 4 kB / 450.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.1539, allocations: 15.98 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1539, allocations: 4 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.154, allocations: 7.938 kB / 450.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.154, allocations: 0 / 450.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.154, allocations: 0 / 450.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.1543, allocations: 238.9 kB / 450.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1544, allocations: 112.6 kB / 450.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.1545, allocations: 11.88 kB / 450.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.1546, allocations: 8 kB / 450.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.1546, allocations: 11.92 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.1546, allocations: 0 / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006049/0.1553, allocations: 0.6472 MB / 451.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1553, allocations: 0 / 451.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1555, allocations: 31.98 kB / 451.4 MB, free: 12.37 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 (7): * Single equations (assignments): 7 * 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.00102/0.1566, allocations: 392.5 kB / 451.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.1568, allocations: 71.94 kB / 451.8 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1569, allocations: 0 / 451.8 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.157, allocations: 48.06 kB / 451.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1574, allocations: 30.03 kB / 451.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1585, allocations: 0.7915 MB / 452.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.1591, allocations: 0.828 MB / 453.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.428e-05/0.1592, allocations: 7.984 kB / 453.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1592, allocations: 15.38 kB / 453.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1592, allocations: 0 / 453.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of Templates: time 0.005175/0.1644, allocations: 1.56 MB / 455.1 MB, free: 8.676 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches