Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 118.3 kB / 17.09 MB, free: 5.953 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.001238/0.001238, allocations: 198.5 kB / 18.01 MB, free: 5.039 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.328/1.328, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.226/0.226, allocations: 43.52 MB / 314.8 MB, free: 456 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.001449/0.001449, allocations: 73.45 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1383, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003476/0.1419, allocations: 1.612 MB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007036/0.1426, allocations: 327.5 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.507e-05/0.1427, allocations: 0 / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006054/0.1433, allocations: 451.2 kB / 0.4909 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004095/0.1437, allocations: 263.4 kB / 0.4911 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1442, allocations: 111.7 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.1444, allocations: 159.7 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1446, allocations: 20.16 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.1447, allocations: 103.8 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.145, allocations: 211.6 kB / 0.4917 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.145, allocations: 3.984 kB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1451, allocations: 39.98 kB / 0.4917 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1453, allocations: 79.69 kB / 0.4918 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.1453, allocations: 103 kB / 0.4919 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.1457, allocations: 255 kB / 0.4922 GB, free: 8.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1457, allocations: 0 / 0.4922 GB, free: 8.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1457, allocations: 0 / 0.4922 GB, free: 8.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1457, allocations: 3.938 kB / 0.4922 GB, free: 8.059 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.0007046/0.1464, allocations: 0.6336 MB / 0.4928 GB, free: 7.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1464, allocations: 11.89 kB / 0.4928 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.1465, allocations: 44.38 kB / 0.4928 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1468, allocations: 292.2 kB / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1468, allocations: 4.375 kB / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1469, allocations: 8.375 kB / 0.4931 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1471, allocations: 61.59 kB / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1471, allocations: 3.938 kB / 0.4932 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1471, allocations: 0 / 0.4932 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.1471, allocations: 0 / 0.4932 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1473, allocations: 39.91 kB / 0.4932 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.1477, allocations: 384.7 kB / 0.4936 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1479, allocations: 42.56 kB / 0.4936 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.741e-05/0.1479, allocations: 20.94 kB / 0.4937 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.148, allocations: 3.938 kB / 0.4937 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.148, allocations: 38.56 kB / 0.4937 GB, free: 6.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.826e-06/0.148, allocations: 7.984 kB / 0.4937 GB, free: 6.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008046/0.1488, allocations: 283.9 kB / 0.494 GB, free: 6.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.1489, allocations: 51.41 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/0.1496, allocations: 0.8612 MB / 0.4949 GB, free: 5.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1496, allocations: 25.7 kB / 0.4949 GB, free: 5.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.1498, allocations: 208.1 kB / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.1498, allocations: 27.56 kB / 0.4951 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1499, allocations: 21.7 kB / 0.4951 GB, free: 4.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1501, allocations: 362.8 kB / 0.4955 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1502, allocations: 35.91 kB / 0.4955 GB, free: 4.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.1503, allocations: 35.97 kB / 0.4955 GB, free: 4.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1505, allocations: 72.81 kB / 0.4956 GB, free: 4.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1505, allocations: 0 / 0.4956 GB, free: 4.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002811/0.1508, allocations: 145.1 kB / 0.4958 GB, free: 4.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1508, allocations: 8 kB / 0.4958 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.1508, allocations: 4 kB / 0.4958 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1509, allocations: 0 / 0.4958 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.151, allocations: 19.98 kB / 0.4958 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.151, allocations: 4 kB / 0.4958 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.1511, allocations: 11.92 kB / 0.4958 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1511, allocations: 0 / 0.4958 GB, free: 4.094 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.0001969/0.1513, allocations: 221.7 kB / 0.496 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.1514, allocations: 43.44 kB / 0.4961 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.1517, allocations: 165.4 kB / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1517, allocations: 0 / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1517, allocations: 0 / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.1517, allocations: 7.922 kB / 0.4962 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006138/0.1524, allocations: 494.4 kB / 0.4967 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1524, allocations: 0 / 0.4967 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.1525, allocations: 23.92 kB / 0.4967 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1525, allocations: 4 kB / 0.4967 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1525, allocations: 3.938 kB / 0.4967 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1525, allocations: 0 / 0.4967 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1525, allocations: 0 / 0.4967 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.1529, allocations: 243.4 kB / 0.497 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.153, allocations: 108.6 kB / 0.4971 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.153, allocations: 7.922 kB / 0.4971 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.1531, allocations: 4 kB / 0.4971 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.1531, allocations: 11.98 kB / 0.4971 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1532, allocations: 0 / 0.4971 GB, free: 2.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005888/0.1537, allocations: 0.6511 MB / 0.4977 GB, free: 2.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1538, allocations: 3.938 kB / 0.4977 GB, free: 2.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.154, allocations: 24 kB / 0.4977 GB, free: 1.996 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.0009473/0.155, allocations: 412.2 kB / 0.4981 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.1553, allocations: 75.92 kB / 0.4982 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1553, allocations: 4 kB / 0.4982 GB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1554, allocations: 43.91 kB / 0.4983 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.1558, allocations: 25.81 kB / 0.4983 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.157, allocations: 0.8244 MB / 0.4991 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.1574, allocations: 0.8221 MB / 0.4999 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.1574, allocations: 11.44 kB / 0.4999 GB, free: 15.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1575, allocations: 0 / 0.4999 GB, free: 15.77 MB / 398.1 MB Notification: Performance of Templates: time 0.008059/0.1655, allocations: 3.77 MB / 0.5036 GB, free: 12 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches