Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009928/0.0009925, allocations: 97.02 kB / 17 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 197.9 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.19 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002714, allocations: 8 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 63.57 MB / 482.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002223/0.1479, allocations: 1.303 MB / 483.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.149, allocations: 0.511 MB / 484.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.1491, allocations: 0 / 484.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1494, allocations: 19.86 kB / 484.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1497, allocations: 63.81 kB / 484.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.15, allocations: 91.81 kB / 484.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.1502, allocations: 67.77 kB / 484.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1503, allocations: 8 kB / 484.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.1504, allocations: 27.86 kB / 484.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1505, allocations: 27.84 kB / 484.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1505, allocations: 0 / 484.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1507, allocations: 91.88 kB / 484.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.1507, allocations: 7.984 kB / 484.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.1508, allocations: 37.64 kB / 484.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.151, allocations: 103.8 kB / 484.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.151, allocations: 4 kB / 484.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.151, allocations: 0 / 484.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.151, allocations: 0 / 484.8 MB, free: 2.188 MB / 350.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.0005973/0.1516, allocations: 395.3 kB / 485.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1517, allocations: 16.02 kB / 485.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.1518, allocations: 7.906 kB / 485.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.1521, allocations: 190.8 kB / 485.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1521, allocations: 0 / 485.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1521, allocations: 8 kB / 485.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1523, allocations: 63.41 kB / 485.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1524, allocations: 0 / 485.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1524, allocations: 3.938 kB / 485.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1524, allocations: 0 / 485.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1525, allocations: 27.97 kB / 485.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.153, allocations: 304.8 kB / 485.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1531, allocations: 46.56 kB / 485.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.1532, allocations: 28.94 kB / 485.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1532, allocations: 4 kB / 485.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1533, allocations: 34.56 kB / 485.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1533, allocations: 3.938 kB / 485.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000656/0.1539, allocations: 201.2 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.154, allocations: 81.05 kB / 486.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1542, allocations: 160 kB / 486.3 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1542, allocations: 25.7 kB / 486.3 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.1543, allocations: 96.05 kB / 486.4 MB, free: 320 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.1543, allocations: 27.64 kB / 486.5 MB, free: 292 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.1543, allocations: 0 / 486.5 MB, free: 292 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1545, allocations: 318.8 kB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.1545, allocations: 31.97 kB / 486.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.061e-05/0.1546, allocations: 53.69 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/0.1547, allocations: 31.98 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1548, allocations: 0 / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002292/0.155, allocations: 113.6 kB / 487 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.155, allocations: 12.02 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.155, allocations: 0 / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1551, allocations: 7.875 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1552, allocations: 23.98 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1552, allocations: 0 / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.1552, allocations: 8 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1553, allocations: 3.953 kB / 487 MB, free: 15.67 MB / 366.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 (8): * Single equations (assignments): 8 * 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.0001127/0.1554, allocations: 118.4 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.1554, allocations: 11.89 kB / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.1557, allocations: 126.3 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1557, allocations: 288 / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1557, allocations: 0 / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1557, allocations: 0 / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.1563, allocations: 406.4 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.1564, allocations: 11.91 kB / 487.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-05/0.1564, allocations: 16 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-05/0.1565, allocations: 8 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1565, allocations: 0 / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.1565, allocations: 3.984 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1565, allocations: 3.953 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1568, allocations: 203.9 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1569, allocations: 89 kB / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.157, allocations: 4 kB / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1571, allocations: 4 kB / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.1571, allocations: 19.88 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1571, allocations: 0 / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1572, allocations: 113.3 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1573, allocations: 0 / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1576, allocations: 43.89 kB / 488.2 MB, free: 14.41 MB / 366.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.00132/0.159, allocations: 0.4928 MB / 488.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.1592, allocations: 71.95 kB / 488.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1593, allocations: 0 / 488.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.1594, allocations: 43.91 kB / 488.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.1599, allocations: 12 kB / 488.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.1606, allocations: 209.1 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.1612, allocations: 0.6965 MB / 489.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.1613, allocations: 28.94 kB / 489.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.1614, allocations: 11.44 kB / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1614, allocations: 0 / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.006285/0.1677, allocations: 1.882 MB / 491.6 MB, free: 11.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches