Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.1 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 76.59 kB / 418.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1477, allocations: 62.44 MB / 480.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.004037/0.1518, allocations: 1.619 MB / 482.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1539, allocations: 1.16 MB / 483.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.356e-05/0.154, allocations: 0 / 483.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1543, allocations: 27.8 kB / 483.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.1548, allocations: 83.61 kB / 483.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.1551, allocations: 95.69 kB / 483.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1553, allocations: 63.91 kB / 483.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1555, allocations: 19.98 kB / 483.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.178e-05/0.1556, allocations: 35.84 kB / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006328/0.1562, allocations: 39.78 kB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.1562, allocations: 4 kB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.1565, allocations: 91.94 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.1566, allocations: 19.92 kB / 483.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.1566, allocations: 31.8 kB / 484 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.157, allocations: 151.6 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.157, allocations: 0 / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.157, allocations: 0 / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.157, allocations: 0 / 484.1 MB, free: 1.867 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006197/0.1576, allocations: 415.4 kB / 484.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1577, allocations: 8.031 kB / 484.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.1578, allocations: 12.84 kB / 484.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.158, allocations: 194.9 kB / 484.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1581, allocations: 4.375 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1581, allocations: 4.375 kB / 484.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.1583, allocations: 83.44 kB / 484.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1583, allocations: 3.906 kB / 484.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1583, allocations: 0 / 484.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1584, allocations: 4 kB / 484.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1585, allocations: 35.89 kB / 484.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.159, allocations: 304.8 kB / 485.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1591, allocations: 50.5 kB / 485.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1592, allocations: 20.97 kB / 485.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1592, allocations: 0 / 485.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1593, allocations: 38.56 kB / 485.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1593, allocations: 4 kB / 485.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008064/0.1601, allocations: 177.3 kB / 485.4 MB, free: 372 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.1602, allocations: 77.11 kB / 485.5 MB, free: 276 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1604, allocations: 157.8 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1604, allocations: 25.7 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1605, allocations: 96.05 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1605, allocations: 31.64 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.1606, allocations: 21.72 kB / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1607, allocations: 318.8 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.1608, allocations: 23.98 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.1609, allocations: 45.62 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.1611, allocations: 65.09 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1611, allocations: 0 / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002225/0.1613, allocations: 97.56 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1613, allocations: 4 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1614, allocations: 4 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1614, allocations: 0 / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1615, allocations: 19.92 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1615, allocations: 0 / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.1616, allocations: 15.92 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1616, allocations: 4 kB / 486.4 MB, free: 15.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1617, allocations: 113.8 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.1618, allocations: 15.81 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.1621, allocations: 114.3 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1621, allocations: 0 / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1621, allocations: 0 / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1621, allocations: 11.94 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.1626, allocations: 394.8 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1626, allocations: 0 / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.1627, allocations: 23.94 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1627, allocations: 3.938 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1628, allocations: 3.984 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1628, allocations: 0 / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1628, allocations: 7.938 kB / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1631, allocations: 191.7 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.1631, allocations: 85.02 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.1632, allocations: 7.938 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.1632, allocations: 7.984 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.1633, allocations: 4 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1633, allocations: 4 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1634, allocations: 121.4 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1634, allocations: 4 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.1637, allocations: 35.98 kB / 487.6 MB, free: 14.08 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 (8): * Single equations (assignments): 8 * 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.001237/0.165, allocations: 492.2 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1652, allocations: 67.89 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.1653, allocations: 4 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.1654, allocations: 39.92 kB / 488.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.1657, allocations: 18.98 kB / 488.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.1663, allocations: 219.5 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1666, allocations: 0.7002 MB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.1667, allocations: 19.42 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1667, allocations: 0 / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.004558/0.1713, allocations: 2.091 MB / 491.2 MB, free: 10.55 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches