Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001159/0.001164, allocations: 105.2 kB / 16.27 MB, free: 5.93 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.001145/0.001145, allocations: 187.3 kB / 17.2 MB, free: 5.574 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.78/1.78, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.227/0.227, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001573/0.001573, allocations: 67.34 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1374, allocations: 57.8 MB / 440.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003315/0.1408, allocations: 1.951 MB / 442.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1419, allocations: 0.7525 MB / 443.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1421, allocations: 7.938 kB / 443.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.1425, allocations: 267.2 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.1428, allocations: 195.2 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009729/0.1438, allocations: 0.5892 MB / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.144, allocations: 299.3 kB / 444.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1442, allocations: 76.7 kB / 444.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1444, allocations: 143.4 kB / 444.8 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.1446, allocations: 199.3 kB / 445 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.1446, allocations: 8 kB / 445 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1447, allocations: 67.97 kB / 445.1 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1449, allocations: 95.67 kB / 445.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.1449, allocations: 115 kB / 445.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.1452, allocations: 303 kB / 445.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1452, allocations: 0 / 445.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1452, allocations: 0 / 445.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1453, allocations: 0 / 445.6 MB, free: 1.84 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006136/0.1459, allocations: 0.6184 MB / 446.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1459, allocations: 15.89 kB / 446.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.146, allocations: 40.38 kB / 446.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1463, allocations: 310.2 kB / 446.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1463, allocations: 8.375 kB / 446.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.1463, allocations: 16.31 kB / 446.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.1466, allocations: 134.6 kB / 446.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1466, allocations: 0 / 446.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1466, allocations: 4 kB / 446.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1466, allocations: 7.984 kB / 446.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1468, allocations: 87.88 kB / 446.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.1474, allocations: 0.4964 MB / 447.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.1476, allocations: 102.5 kB / 447.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.1477, allocations: 40.84 kB / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1477, allocations: 7.984 kB / 447.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1478, allocations: 34.5 kB / 447.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1478, allocations: 4 kB / 447.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001076/0.1489, allocations: 449.3 kB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1489, allocations: 51.41 kB / 448 MB, free: 15.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.1495, allocations: 0.5211 MB / 448.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.1495, allocations: 37.69 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1497, allocations: 196.3 kB / 448.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/0.1498, allocations: 55.2 kB / 448.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.1498, allocations: 37.7 kB / 448.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.15, allocations: 350.7 kB / 449.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1502, allocations: 63.97 kB / 449.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1503, allocations: 63.95 kB / 449.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.1506, allocations: 163.5 kB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.566e-05/0.1507, allocations: 7.938 kB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003717/0.1511, allocations: 221.1 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1511, allocations: 4 kB / 449.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1511, allocations: 0 / 449.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.88e-05/0.1512, allocations: 4 kB / 449.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1514, allocations: 31.97 kB / 449.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1514, allocations: 4 kB / 449.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.1515, allocations: 11.91 kB / 449.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1515, allocations: 11.98 kB / 449.7 MB, free: 13.46 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 (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.0001925/0.1517, allocations: 185.6 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.1517, allocations: 39.53 kB / 449.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.1523, allocations: 276.3 kB / 450.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1523, allocations: 0 / 450.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1523, allocations: 0 / 450.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1523, allocations: 4 kB / 450.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009633/0.1533, allocations: 0.666 MB / 450.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1533, allocations: 7.938 kB / 450.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1534, allocations: 31.97 kB / 450.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1534, allocations: 0 / 450.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.1535, allocations: 15.98 kB / 450.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1535, allocations: 0 / 450.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1535, allocations: 3.938 kB / 450.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.1539, allocations: 322.8 kB / 451.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.154, allocations: 104.7 kB / 451.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.154, allocations: 4 kB / 451.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.1541, allocations: 11.98 kB / 451.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.1542, allocations: 19.83 kB / 451.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.1542, allocations: 4 kB / 451.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004325/0.1546, allocations: 399.1 kB / 451.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1547, allocations: 0 / 451.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.155, allocations: 44 kB / 451.8 MB, free: 11.25 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 (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.001798/0.1568, allocations: 0.695 MB / 452.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004056/0.1572, allocations: 175.8 kB / 452.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1572, allocations: 0 / 452.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1573, allocations: 87.89 kB / 452.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.1579, allocations: 75.41 kB / 452.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.159, allocations: 0.7022 MB / 453.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.1595, allocations: 0.8143 MB / 454.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.1596, allocations: 57.89 kB / 454.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.1598, allocations: 27.42 kB / 454.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1598, allocations: 0 / 454.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of Templates: time 0.007259/0.167, allocations: 3.26 MB / 457.7 MB, free: 5.383 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches