Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 114 kB / 17.08 MB, free: 5.992 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.001118/0.001118, allocations: 194.5 kB / 18.01 MB, free: 5.07 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.49/1.49, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2172/0.2172, allocations: 43.53 MB / 314.8 MB, free: 452 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.00168/0.001681, allocations: 73.45 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1325, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003762/0.1363, allocations: 1.616 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.138, allocations: 0.9691 MB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.1381, allocations: 0 / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1384, allocations: 31.73 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1386, allocations: 43.78 kB / 0.4911 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.1392, allocations: 147.7 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.1394, allocations: 75.77 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1395, allocations: 15.98 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.1396, allocations: 31.91 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1397, allocations: 27.84 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1398, allocations: 4 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1399, allocations: 55.97 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.14, allocations: 19.92 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.1401, allocations: 27.75 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1403, allocations: 99.75 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1403, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1403, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1403, allocations: 0 / 0.4916 GB, free: 8.617 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006467/0.141, allocations: 387.2 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.141, allocations: 19.88 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.1411, allocations: 8.844 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.1413, allocations: 184.3 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1413, allocations: 8.25 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.1414, allocations: 4.375 kB / 0.4922 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.1416, allocations: 75.5 kB / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1416, allocations: 0 / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1416, allocations: 8 kB / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1416, allocations: 3.984 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.1418, allocations: 39.97 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.1424, allocations: 308.6 kB / 0.4926 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1425, allocations: 50.55 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.1426, allocations: 24.94 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1426, allocations: 4 kB / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1427, allocations: 30.56 kB / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.1427, allocations: 0 / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000827/0.1435, allocations: 225.3 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.1436, allocations: 77.11 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.1438, allocations: 137.8 kB / 0.4931 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1438, allocations: 25.7 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.1439, allocations: 96.05 kB / 0.4933 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.1439, allocations: 19.7 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.144, allocations: 21.72 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1441, allocations: 322.8 kB / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.1443, allocations: 43.98 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.1445, allocations: 61.66 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.1448, allocations: 84.73 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1448, allocations: 4.031 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000378/0.1452, allocations: 117.5 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1452, allocations: 4 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1452, allocations: 0 / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1452, allocations: 0 / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1454, allocations: 35.91 kB / 0.4939 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1454, allocations: 0 / 0.4939 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.1455, allocations: 19.88 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1455, allocations: 0 / 0.494 GB, free: 5.973 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 (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.0001041/0.1456, allocations: 125.8 kB / 0.4941 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.1456, allocations: 3.906 kB / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.146, allocations: 134 kB / 0.4942 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.146, allocations: 3.938 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.146, allocations: 8 kB / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.146, allocations: 3.938 kB / 0.4942 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.1466, allocations: 402.4 kB / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1467, allocations: 0 / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1468, allocations: 19.98 kB / 0.4946 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.1468, allocations: 0 / 0.4946 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1468, allocations: 3.938 kB / 0.4946 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1469, allocations: 4 kB / 0.4946 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1469, allocations: 0 / 0.4946 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.1472, allocations: 227.8 kB / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.1473, allocations: 89 kB / 0.4949 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1473, allocations: 7.938 kB / 0.495 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.1474, allocations: 12 kB / 0.495 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.1475, allocations: 3.984 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1475, allocations: 4 kB / 0.495 GB, free: 4.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.169e-05/0.1476, allocations: 103.3 kB / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1476, allocations: 0 / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1479, allocations: 27.98 kB / 0.4951 GB, free: 4.703 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 (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.001128/0.149, allocations: 449.2 kB / 0.4955 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.1493, allocations: 99.84 kB / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1494, allocations: 3.938 kB / 0.4956 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1495, allocations: 47.97 kB / 0.4957 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.1499, allocations: 23.78 kB / 0.4957 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.1504, allocations: 208.1 kB / 0.4959 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1507, allocations: 0.6963 MB / 0.4966 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.1508, allocations: 15.44 kB / 0.4966 GB, free: 3.152 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1508, allocations: 0 / 0.4966 GB, free: 3.152 MB / 382.1 MB Notification: Performance of Templates: time 0.004375/0.1552, allocations: 1.809 MB / 0.4984 GB, free: 1.348 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches