Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2611/0.2611, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 81.55 kB / 417.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1536, allocations: 62.46 MB / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003977/0.1576, allocations: 1.588 MB / 481.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1598, allocations: 1.167 MB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.1599, allocations: 0 / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1602, allocations: 27.78 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.1605, allocations: 91.61 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.1609, allocations: 115.4 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1611, allocations: 63.84 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1612, allocations: 16 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.1613, allocations: 27.86 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.1614, allocations: 39.83 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1614, allocations: 4 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.1617, allocations: 91.88 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.1617, allocations: 11.98 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.1618, allocations: 31.8 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.1621, allocations: 139.7 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1621, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1621, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1621, allocations: 0 / 483.5 MB, free: 1.809 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.0005704/0.1627, allocations: 395.4 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1627, allocations: 12.03 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.1628, allocations: 4.938 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.163, allocations: 202.6 kB / 484.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-06/0.163, allocations: 4.375 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.1631, allocations: 4.375 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1633, allocations: 75.45 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1633, allocations: 3.984 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1633, allocations: 3.938 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.1633, allocations: 0 / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.1634, allocations: 23.98 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.1639, allocations: 284.9 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1642, allocations: 50.48 kB / 484.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.1642, allocations: 12.86 kB / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1643, allocations: 0 / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.1643, allocations: 42.66 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1643, allocations: 0 / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006459/0.165, allocations: 149.2 kB / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.165, allocations: 81.09 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1652, allocations: 145.8 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1652, allocations: 25.7 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.1653, allocations: 100.1 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.1654, allocations: 19.75 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1654, allocations: 17.72 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1656, allocations: 322.7 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.1657, allocations: 19.98 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.1658, allocations: 33.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1659, allocations: 60.84 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1659, allocations: 0 / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000219/0.1662, allocations: 81.61 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1662, allocations: 6.344 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1662, allocations: 0 / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1662, allocations: 4 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.1663, allocations: 11.98 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1663, allocations: 0 / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1664, allocations: 11.98 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1664, allocations: 3.938 kB / 485.7 MB, free: 15.4 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 (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 9.291e-05/0.1665, allocations: 117.8 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.1665, allocations: 4.156 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.1668, allocations: 105.9 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1668, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1668, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1668, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.1673, allocations: 366.4 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1673, allocations: 3.938 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.1674, allocations: 8 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1674, allocations: 3.984 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1674, allocations: 4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1674, allocations: 3.938 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1674, allocations: 4 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1677, allocations: 183.4 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.1678, allocations: 81.11 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1678, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.1679, allocations: 7.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.1679, allocations: 7.984 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1679, allocations: 4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.168, allocations: 119.2 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.974e-06/0.1681, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1683, allocations: 39.94 kB / 486.7 MB, free: 14.25 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 (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.00172/0.1701, allocations: 487.8 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1703, allocations: 55.95 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1703, allocations: 3.938 kB / 487.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.812e-05/0.1704, allocations: 31.92 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1708, allocations: 19.36 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.1713, allocations: 173.4 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1716, allocations: 0.6963 MB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.092e-05/0.1717, allocations: 19.91 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.1717, allocations: 19.42 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1717, allocations: 0 / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of Templates: time 0.004773/0.1765, allocations: 1.763 MB / 490 MB, free: 11.11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches