Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 114.6 kB / 17.33 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001706, allocations: 209.8 kB / 18.27 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2459/0.2459, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 76.3 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1544, allocations: 62.44 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004095/0.1586, allocations: 1.785 MB / 481.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1605, allocations: 1.009 MB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.1606, allocations: 0 / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.161, allocations: 43.83 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.1613, allocations: 79.75 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1615, allocations: 59.88 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.1618, allocations: 115.6 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1619, allocations: 4 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.938e-05/0.162, allocations: 43.78 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.1621, allocations: 35.78 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1621, allocations: 4 kB / 482.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1623, allocations: 47.97 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.1623, allocations: 27.86 kB / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.1624, allocations: 31.75 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1626, allocations: 119.9 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.1627, allocations: 0 / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1627, allocations: 0 / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1627, allocations: 0 / 483 MB, free: 2.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006922/0.1634, allocations: 418.9 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.1634, allocations: 8.031 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.1635, allocations: 34.73 kB / 483.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.1635, allocations: 12.84 kB / 483.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1638, allocations: 218.5 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1639, allocations: 8.375 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1639, allocations: 3.938 kB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1641, allocations: 57.67 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1641, allocations: 7.906 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1641, allocations: 0 / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1641, allocations: 0 / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.1642, allocations: 23.98 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.1647, allocations: 284.8 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.1649, allocations: 66.61 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.165, allocations: 16.86 kB / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.165, allocations: 0 / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.1652, allocations: 71.38 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1652, allocations: 4 kB / 484.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005904/0.1658, allocations: 169.2 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.1659, allocations: 51.41 kB / 484.4 MB, free: 464 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1661, allocations: 202.7 kB / 484.6 MB, free: 252 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1661, allocations: 25.7 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.1662, allocations: 100.1 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.1662, allocations: 23.7 kB / 484.8 MB, free: 92 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.1663, allocations: 29.66 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1664, allocations: 326.8 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.1665, allocations: 23.98 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/0.1666, allocations: 33.7 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1667, allocations: 57.7 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1667, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.1669, allocations: 109.4 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1669, allocations: 6.969 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1669, allocations: 4 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1669, allocations: 0 / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.092e-05/0.167, allocations: 15.98 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1671, allocations: 3.938 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.1671, allocations: 7.938 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1671, allocations: 4 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001207/0.1673, allocations: 128.5 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.1673, allocations: 15.88 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.1673, allocations: 17.41 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1673, allocations: 0 / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1674, allocations: 4.359 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1674, allocations: 3.938 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.1679, allocations: 395.2 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1679, allocations: 4 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.168, allocations: 8 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.168, allocations: 7.969 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.168, allocations: 8.172 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.168, allocations: 0 / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.168, allocations: 4.172 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1682, allocations: 208.2 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.1683, allocations: 88.92 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.1683, allocations: 11.94 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1684, allocations: 7.984 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.1684, allocations: 4 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1685, allocations: 4 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1686, allocations: 152.7 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1686, allocations: 0 / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1689, allocations: 20 kB / 486.4 MB, free: 14.27 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001614/0.1705, allocations: 1.088 MB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.1707, allocations: 71.91 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1707, allocations: 0 / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.1708, allocations: 27.98 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1712, allocations: 27.91 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.173, allocations: 1.667 MB / 489.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1733, allocations: 0.7119 MB / 490 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.295e-05/0.1734, allocations: 16.86 kB / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.1735, allocations: 35.42 kB / 490.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1735, allocations: 0 / 490.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.1898, allocations: 3.272 MB / 493.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/0.1901, allocations: 238.2 kB / 493.6 MB, free: 7.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.159, allocations: 0 / 493.6 MB, free: 7.23 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches