Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 98.5 kB / 17.01 MB, free: 6.074 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.001195/0.001196, allocations: 182.5 kB / 17.89 MB, free: 5.66 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.464/1.464, allocations: 223.3 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 44.25 MB / 337.3 MB, free: 2.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 9.031 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 61.94 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002232/0.1362, allocations: 1.512 MB / 473.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1378, allocations: 0.8619 MB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.138, allocations: 3.938 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.1385, allocations: 247.4 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.1388, allocations: 175.5 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1402, allocations: 0.5916 MB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.1405, allocations: 235.3 kB / 475.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1407, allocations: 36.67 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1408, allocations: 103.5 kB / 475.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.141, allocations: 155.4 kB / 475.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.141, allocations: 0 / 475.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1411, allocations: 39.94 kB / 475.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1412, allocations: 83.72 kB / 475.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.1413, allocations: 65.52 kB / 475.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1415, allocations: 195.6 kB / 475.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1415, allocations: 0 / 475.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1416, allocations: 0 / 475.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1416, allocations: 0 / 475.9 MB, free: 9.383 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006157/0.1422, allocations: 0.5524 MB / 476.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1422, allocations: 12.02 kB / 476.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.1423, allocations: 39.52 kB / 476.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1426, allocations: 281.4 kB / 476.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1426, allocations: 11.94 kB / 476.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1427, allocations: 8 kB / 476.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.1429, allocations: 108.6 kB / 476.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1429, allocations: 0 / 476.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1429, allocations: 4 kB / 476.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1429, allocations: 7.938 kB / 476.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.1431, allocations: 67.95 kB / 477 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.1437, allocations: 456.4 kB / 477.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.1438, allocations: 70.53 kB / 477.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.1439, allocations: 40.97 kB / 477.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1439, allocations: 0 / 477.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1439, allocations: 38.5 kB / 477.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.1439, allocations: 0 / 477.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003285/0.1443, allocations: 149.3 kB / 477.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1443, allocations: 59.41 kB / 477.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.1449, allocations: 0.5212 MB / 478.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1449, allocations: 33.7 kB / 478.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.145, allocations: 184.1 kB / 478.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.145, allocations: 19.75 kB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.145, allocations: 0 / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1452, allocations: 354.8 kB / 478.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.1453, allocations: 23.98 kB / 478.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.1453, allocations: 35.97 kB / 478.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.708e-05/0.1454, allocations: 31.92 kB / 478.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1454, allocations: 4 kB / 478.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002077/0.1456, allocations: 133.1 kB / 479.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1457, allocations: 4 kB / 479.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1457, allocations: 0 / 479.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1457, allocations: 4 kB / 479.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.1458, allocations: 12 kB / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1458, allocations: 0 / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1458, allocations: 7.984 kB / 479.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1458, allocations: 4 kB / 479.1 MB, free: 5.934 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.146, allocations: 170.3 kB / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.1461, allocations: 35.53 kB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.1463, allocations: 161.1 kB / 479.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1464, allocations: 4 kB / 479.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1464, allocations: 0 / 479.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1464, allocations: 64 / 479.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.1467, allocations: 285.5 kB / 479.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1467, allocations: 0 / 479.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.1467, allocations: 12 kB / 479.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1467, allocations: 0 / 479.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1467, allocations: 0 / 479.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1468, allocations: 7.984 kB / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1468, allocations: 0 / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.147, allocations: 230.9 kB / 480 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.1471, allocations: 116.7 kB / 480.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1471, allocations: 0 / 480.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.1472, allocations: 8 kB / 480.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1473, allocations: 11.97 kB / 480.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1473, allocations: 4 kB / 480.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003823/0.1477, allocations: 391.1 kB / 480.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1477, allocations: 0 / 480.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1479, allocations: 35.91 kB / 480.6 MB, free: 4.395 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001373/0.1493, allocations: 0.5888 MB / 481.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1495, allocations: 71.91 kB / 481.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1495, allocations: 0 / 481.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.054e-05/0.1496, allocations: 39.97 kB / 481.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.15, allocations: 60.97 kB / 481.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.1509, allocations: 0.6493 MB / 482 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1513, allocations: 0.8024 MB / 482.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.548e-05/0.1514, allocations: 41.5 kB / 482.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.1515, allocations: 27.42 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1515, allocations: 3.938 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Templates: time 0.005538/0.157, allocations: 2.499 MB / 485.3 MB, free: 15.83 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches