Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 96.14 kB / 15.87 MB, free: 16 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.001929/0.001929, allocations: 202.7 kB / 16.79 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 1.861/1.861, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.3942/0.3942, allocations: 43.51 MB / 313.5 MB, free: 8.484 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.001403/0.001403, allocations: 66.55 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.164, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003705/0.1677, allocations: 1.614 MB / 441.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.1685, allocations: 311.6 kB / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.1686, allocations: 0 / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.1689, allocations: 23.91 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.169, allocations: 27.86 kB / 441.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1692, allocations: 71.91 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.1694, allocations: 51.84 kB / 441.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1695, allocations: 11.98 kB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.1696, allocations: 23.86 kB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.1696, allocations: 11.92 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1697, allocations: 4 kB / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.1698, allocations: 35.92 kB / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.1698, allocations: 11.92 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.1699, allocations: 23.81 kB / 442 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.17, allocations: 76.02 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.17, allocations: 7.938 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.17, allocations: 0 / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.17, allocations: 0 / 442.1 MB, free: 12.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005419/0.1706, allocations: 383.2 kB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1706, allocations: 8.031 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.1707, allocations: 8.844 kB / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1709, allocations: 184.2 kB / 442.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1709, allocations: 4.375 kB / 442.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.171, allocations: 12.31 kB / 442.7 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1711, allocations: 45.81 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1712, allocations: 0 / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1712, allocations: 4 kB / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1712, allocations: 0 / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.58e-05/0.1713, allocations: 23.97 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1717, allocations: 268.9 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.172, allocations: 50.59 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.1721, allocations: 20.78 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.1721, allocations: 4 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.1722, allocations: 30.56 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1722, allocations: 0 / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006412/0.1728, allocations: 145.2 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1729, allocations: 59.41 kB / 443.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1731, allocations: 149.8 kB / 443.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1731, allocations: 25.7 kB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.1731, allocations: 96.12 kB / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.1732, allocations: 19.66 kB / 443.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1732, allocations: 21.72 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1734, allocations: 326.8 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.1735, allocations: 15.98 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.1735, allocations: 15.98 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1736, allocations: 48.95 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1737, allocations: 0 / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001843/0.1738, allocations: 89.58 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1739, allocations: 7.125 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1739, allocations: 0 / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1739, allocations: 0 / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.174, allocations: 15.98 kB / 444.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.174, allocations: 0 / 444.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.174, allocations: 4 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1741, allocations: 3.938 kB / 444.2 MB, free: 10.27 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 (5): * Single equations (assignments): 5 * 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.0001154/0.1742, allocations: 133.7 kB / 444.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1742, allocations: 7.906 kB / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.1745, allocations: 93.91 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1745, allocations: 0 / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1745, allocations: 0 / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1745, allocations: 0 / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.1749, allocations: 350.4 kB / 444.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1749, allocations: 0 / 444.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.175, allocations: 15.98 kB / 444.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.175, allocations: 0 / 444.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.175, allocations: 0 / 444.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.175, allocations: 7.875 kB / 444.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.175, allocations: 0 / 444.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.1753, allocations: 179.6 kB / 444.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.1753, allocations: 89 kB / 445 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1754, allocations: 4 kB / 445 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.1754, allocations: 11.88 kB / 445 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1755, allocations: 3.984 kB / 445 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1755, allocations: 4 kB / 445 MB, free: 9.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.242e-05/0.1756, allocations: 119.2 kB / 445.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1756, allocations: 0 / 445.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1759, allocations: 12 kB / 445.2 MB, free: 9.148 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 (5): * Single equations (assignments): 5 * 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.0009882/0.1769, allocations: 395.4 kB / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1771, allocations: 47.97 kB / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1771, allocations: 0 / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.1772, allocations: 27.92 kB / 445.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.1776, allocations: 19.27 kB / 445.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.178, allocations: 195.2 kB / 445.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1784, allocations: 0.6887 MB / 446.5 MB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.771e-05/0.1784, allocations: 15.97 kB / 446.5 MB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.1785, allocations: 11.44 kB / 446.5 MB, free: 7.742 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1785, allocations: 4 kB / 446.6 MB, free: 7.738 MB / 382.1 MB Notification: Performance of Templates: time 0.003935/0.1824, allocations: 1.03 MB / 447.6 MB, free: 6.707 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches