Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001667/0.001667, allocations: 114.1 kB / 16.41 MB, free: 6.48 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.001804/0.001804, allocations: 190.1 kB / 17.34 MB, free: 5.766 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.549/1.549, allocations: 205.1 MB / 223.2 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.2136/0.2136, allocations: 43.51 MB / 314.1 MB, free: 468 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.0015/0.0015, allocations: 63.91 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1331, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003368/0.1365, allocations: 1.849 MB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1378, allocations: 0.733 MB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.312e-05/0.1379, allocations: 0 / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.1384, allocations: 259.2 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.1387, allocations: 195.3 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1399, allocations: 0.5886 MB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.1402, allocations: 271.3 kB / 0.4917 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1404, allocations: 52.36 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1405, allocations: 131.5 kB / 0.4919 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.1407, allocations: 191.3 kB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1408, allocations: 8 kB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-05/0.1409, allocations: 47.98 kB / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.141, allocations: 87.73 kB / 0.4922 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.1411, allocations: 99.06 kB / 0.4923 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.1414, allocations: 263 kB / 0.4925 GB, free: 7.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1414, allocations: 0 / 0.4925 GB, free: 7.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1414, allocations: 4 kB / 0.4925 GB, free: 7.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1414, allocations: 0 / 0.4925 GB, free: 7.031 MB / 382.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.0006828/0.1421, allocations: 0.6028 MB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1422, allocations: 15.89 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.1422, allocations: 36.47 kB / 0.4932 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.1426, allocations: 302.3 kB / 0.4934 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1426, allocations: 4.375 kB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1426, allocations: 4.375 kB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.1428, allocations: 113.4 kB / 0.4936 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1429, allocations: 0 / 0.4936 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1429, allocations: 4 kB / 0.4936 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1429, allocations: 3.938 kB / 0.4936 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1431, allocations: 71.95 kB / 0.4936 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006342/0.1437, allocations: 444.4 kB / 0.4941 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1439, allocations: 78.55 kB / 0.4941 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.1439, allocations: 36.95 kB / 0.4942 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.144, allocations: 3.984 kB / 0.4942 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.144, allocations: 30.56 kB / 0.4942 GB, free: 5.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.144, allocations: 4 kB / 0.4942 GB, free: 5.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003691/0.1444, allocations: 153.1 kB / 0.4944 GB, free: 4.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.1444, allocations: 55.34 kB / 0.4944 GB, free: 4.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.145, allocations: 0.525 MB / 0.4949 GB, free: 4.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.145, allocations: 25.7 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1452, allocations: 192.1 kB / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.1453, allocations: 23.66 kB / 0.4952 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.1453, allocations: 21.7 kB / 0.4952 GB, free: 4.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1455, allocations: 346.8 kB / 0.4955 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.1456, allocations: 27.98 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.1456, allocations: 23.98 kB / 0.4956 GB, free: 3.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1458, allocations: 64.83 kB / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1458, allocations: 0 / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002115/0.146, allocations: 125.2 kB / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.146, allocations: 4 kB / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.146, allocations: 0 / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.1461, allocations: 4 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.1462, allocations: 15.92 kB / 0.4958 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1462, allocations: 0 / 0.4958 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.1462, allocations: 15.91 kB / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1462, allocations: 0 / 0.4958 GB, free: 3.473 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.1464, allocations: 169.8 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.1465, allocations: 31.62 kB / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.1468, allocations: 141.2 kB / 0.4961 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1468, allocations: 3.938 kB / 0.4961 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.1468, allocations: 8.062 kB / 0.4961 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1468, allocations: 0 / 0.4961 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.1471, allocations: 285.5 kB / 0.4964 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1471, allocations: 3.938 kB / 0.4964 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.1472, allocations: 11.98 kB / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1472, allocations: 0 / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1472, allocations: 4 kB / 0.4964 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1472, allocations: 7.875 kB / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1472, allocations: 0 / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1475, allocations: 223.1 kB / 0.4966 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.1476, allocations: 108.7 kB / 0.4967 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1476, allocations: 4 kB / 0.4967 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.1477, allocations: 3.938 kB / 0.4967 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1477, allocations: 4 kB / 0.4967 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1477, allocations: 4 kB / 0.4967 GB, free: 2.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003734/0.1481, allocations: 395.1 kB / 0.4971 GB, free: 2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1481, allocations: 0 / 0.4971 GB, free: 2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1484, allocations: 35.91 kB / 0.4972 GB, free: 1.965 MB / 382.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 (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.00129/0.1497, allocations: 0.6062 MB / 0.4977 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.1499, allocations: 59.91 kB / 0.4978 GB, free: 1.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1499, allocations: 0 / 0.4978 GB, free: 1.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.15, allocations: 35.97 kB / 0.4978 GB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.1505, allocations: 65.38 kB / 0.4979 GB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008503/0.1513, allocations: 0.5916 MB / 0.4985 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.1518, allocations: 0.7982 MB / 0.4993 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.1519, allocations: 49.47 kB / 0.4993 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.152, allocations: 23.44 kB / 0.4993 GB, free: 15.72 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.152, allocations: 0 / 0.4993 GB, free: 15.72 MB / 398.1 MB Notification: Performance of Templates: time 0.005988/0.158, allocations: 2.684 MB / 0.5019 GB, free: 13.04 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches