Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009181/0.0009181, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 172.3 kB / 16.59 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4887/0.4887, allocations: 43.58 MB / 314.6 MB, free: 8.77 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.0005512/0.0005514, allocations: 16 kB / 384 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1526, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.001968/0.1546, allocations: 1.306 MB / 444.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006079/0.1553, allocations: 327.8 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.1553, allocations: 0 / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1556, allocations: 59.84 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.1558, allocations: 35.91 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1561, allocations: 147.7 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.1563, allocations: 59.83 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1564, allocations: 19.97 kB / 444.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.434e-05/0.1564, allocations: 27.84 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.354e-05/0.1565, allocations: 27.86 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1566, allocations: 8 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.949e-05/0.1566, allocations: 31.97 kB / 444.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.1567, allocations: 19.92 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.1568, allocations: 33.7 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1569, allocations: 64.12 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1569, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1569, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1569, allocations: 0 / 445 MB, free: 10.86 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.0005077/0.1574, allocations: 398.9 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1575, allocations: 12.02 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.1575, allocations: 11.86 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.1577, allocations: 199.4 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1577, allocations: 0 / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1578, allocations: 8 kB / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1579, allocations: 61.67 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.158, allocations: 4 kB / 445.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.158, allocations: 0 / 445.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.158, allocations: 0 / 445.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1581, allocations: 51.86 kB / 445.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.1586, allocations: 308.8 kB / 446 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1587, allocations: 54.55 kB / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.929e-05/0.1588, allocations: 28.94 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1588, allocations: 7.984 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1589, allocations: 38.5 kB / 446.1 MB, free: 9.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1589, allocations: 0 / 446.1 MB, free: 9.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008125/0.1597, allocations: 277 kB / 446.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1597, allocations: 55.41 kB / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1599, allocations: 178.5 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.16, allocations: 25.7 kB / 446.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.16, allocations: 96.14 kB / 446.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1601, allocations: 27.64 kB / 446.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1601, allocations: 0 / 446.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1603, allocations: 322.8 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1604, allocations: 47.97 kB / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1605, allocations: 43.97 kB / 447.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1606, allocations: 47.97 kB / 447.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1606, allocations: 4 kB / 447.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002947/0.1609, allocations: 145.4 kB / 447.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.161, allocations: 11.89 kB / 447.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.161, allocations: 3.938 kB / 447.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.161, allocations: 0 / 447.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1611, allocations: 23.98 kB / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1611, allocations: 4 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.1612, allocations: 19.98 kB / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1612, allocations: 0 / 447.4 MB, free: 8.172 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.1613, allocations: 121.8 kB / 447.6 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.1614, allocations: 11.91 kB / 447.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.1617, allocations: 158.2 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1618, allocations: 4 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1618, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1618, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.1624, allocations: 422.5 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1624, allocations: 7.953 kB / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.1625, allocations: 23.92 kB / 448.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1625, allocations: 7.938 kB / 448.2 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1625, allocations: 4 kB / 448.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1625, allocations: 0 / 448.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1625, allocations: 0 / 448.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.1628, allocations: 235.4 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.1629, allocations: 96.86 kB / 448.5 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1629, allocations: 0 / 448.5 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.163, allocations: 15.98 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.1631, allocations: 8 kB / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1631, allocations: 0 / 448.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1632, allocations: 136 kB / 448.7 MB, free: 6.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1632, allocations: 4 kB / 448.7 MB, free: 6.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1635, allocations: 20 kB / 448.7 MB, free: 6.82 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 (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.001052/0.1646, allocations: 413.5 kB / 449.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.1649, allocations: 95.94 kB / 449.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1649, allocations: 4 kB / 449.2 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.165, allocations: 64.09 kB / 449.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1654, allocations: 23.92 kB / 449.3 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.1659, allocations: 249.2 kB / 449.5 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1663, allocations: 0.7043 MB / 450.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.1664, allocations: 19.97 kB / 450.2 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.1664, allocations: 19.44 kB / 450.3 MB, free: 5.219 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1664, allocations: 0 / 450.3 MB, free: 5.219 MB / 382.1 MB Notification: Performance of Templates: time 0.00468/0.1711, allocations: 1.167 MB / 451.4 MB, free: 4.051 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches