Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001097, allocations: 97.52 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001395, allocations: 201.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1562, allocations: 63.56 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002472/0.1588, allocations: 1.357 MB / 484.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1599, allocations: 0.534 MB / 485 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.16, allocations: 0 / 485 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.1604, allocations: 99.73 kB / 485.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.1606, allocations: 83.78 kB / 485.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1609, allocations: 91.08 kB / 485.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1611, allocations: 91.73 kB / 485.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1613, allocations: 24 kB / 485.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.1613, allocations: 31.91 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1615, allocations: 63.69 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1615, allocations: 4 kB / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1616, allocations: 43.97 kB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.1617, allocations: 19.92 kB / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.1617, allocations: 65.38 kB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1619, allocations: 123.8 kB / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.162, allocations: 4 kB / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.162, allocations: 0 / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.162, allocations: 0 / 485.7 MB, free: 1.48 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006717/0.1627, allocations: 417.5 kB / 486.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.1627, allocations: 12.03 kB / 486.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.1628, allocations: 12.75 kB / 486.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1631, allocations: 216.5 kB / 486.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1631, allocations: 384 / 486.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.1631, allocations: 12.38 kB / 486.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.1634, allocations: 73.8 kB / 486.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1634, allocations: 0 / 486.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1634, allocations: 0 / 486.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1634, allocations: 0 / 486.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.1635, allocations: 55.88 kB / 486.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.164, allocations: 340.6 kB / 486.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.1642, allocations: 58.56 kB / 486.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.1642, allocations: 28.78 kB / 486.9 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1643, allocations: 4 kB / 486.9 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.1643, allocations: 38.56 kB / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1643, allocations: 0 / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001153/0.1655, allocations: 336.9 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1655, allocations: 55.41 kB / 487.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.1658, allocations: 239.5 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.1659, allocations: 25.7 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.166, allocations: 108.1 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.166, allocations: 43.36 kB / 487.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.1661, allocations: 21.7 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1663, allocations: 322.8 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1664, allocations: 43.98 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.452e-05/0.1665, allocations: 43.91 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1667, allocations: 100.8 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1667, allocations: 0 / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002811/0.167, allocations: 149 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.167, allocations: 4 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1671, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.1671, allocations: 3.938 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1672, allocations: 35.92 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1673, allocations: 0 / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.1673, allocations: 15.98 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1673, allocations: 0 / 488.5 MB, free: 14.5 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 (13): * Single equations (assignments): 13 * 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.0001431/0.1675, allocations: 137.8 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.1675, allocations: 15.75 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.1679, allocations: 187.8 kB / 488.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1679, allocations: 11.88 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.168, allocations: 0 / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.168, allocations: 0 / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.1686, allocations: 495 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1686, allocations: 0 / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.1687, allocations: 27.98 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1688, allocations: 0 / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1688, allocations: 0 / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1688, allocations: 4 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1688, allocations: 3.969 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.1691, allocations: 248.1 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.1692, allocations: 89.02 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.1692, allocations: 8 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.1693, allocations: 15.92 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1693, allocations: 11.98 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1694, allocations: 4 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1695, allocations: 181.2 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1695, allocations: 0 / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1698, allocations: 28 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001102/0.1709, allocations: 446.2 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.1712, allocations: 103.9 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1712, allocations: 0 / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1713, allocations: 59.91 kB / 490.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1717, allocations: 23.92 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008185/0.1725, allocations: 363.1 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.173, allocations: 0.7239 MB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.603e-05/0.1731, allocations: 20.53 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.1731, allocations: 15.44 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1731, allocations: 0 / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Templates: time 0.005191/0.1783, allocations: 1.46 MB / 493.1 MB, free: 9.863 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches