Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 115.6 kB / 17.33 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 209.8 kB / 18.27 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.4 MB, free: 9.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.1 MB / 343.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 75.03 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1475, allocations: 62.45 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.005551/0.1531, allocations: 1.785 MB / 481.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.1555, allocations: 1.006 MB / 482.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1556, allocations: 3.938 kB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004855/0.1561, allocations: 51.88 kB / 482.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.1566, allocations: 83.73 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.157, allocations: 71.8 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.1573, allocations: 103.7 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1575, allocations: 16 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1577, allocations: 39.8 kB / 482.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1578, allocations: 47.7 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.1579, allocations: 4 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.1581, allocations: 43.98 kB / 482.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.839e-05/0.1582, allocations: 27.91 kB / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.1583, allocations: 39.69 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.1587, allocations: 135.8 kB / 483.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1587, allocations: 7.938 kB / 483.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1587, allocations: 0 / 483.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.1587, allocations: 4 kB / 483.1 MB, free: 2.027 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.0008742/0.1596, allocations: 446.6 kB / 483.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.1597, allocations: 8.031 kB / 483.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.413e-05/0.1597, allocations: 34.75 kB / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.1598, allocations: 16.75 kB / 483.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.1602, allocations: 217 kB / 483.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1602, allocations: 4.375 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1602, allocations: 11.94 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.1605, allocations: 57.61 kB / 483.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1605, allocations: 0 / 483.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1605, allocations: 3.984 kB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1605, allocations: 0 / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1606, allocations: 19.98 kB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.1612, allocations: 292.9 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.1614, allocations: 66.61 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.387e-05/0.1615, allocations: 24.84 kB / 484.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.1616, allocations: 0 / 484.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.1619, allocations: 67.33 kB / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.1619, allocations: 0 / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007632/0.1627, allocations: 192.9 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.1628, allocations: 55.41 kB / 484.6 MB, free: 356 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.1631, allocations: 270.9 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1632, allocations: 25.7 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1633, allocations: 116.1 kB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.1634, allocations: 27.64 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.1634, allocations: 21.72 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1636, allocations: 330.8 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.1637, allocations: 19.98 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.1638, allocations: 37.64 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.1639, allocations: 57.7 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.164, allocations: 4 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002504/0.1642, allocations: 101.4 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.1642, allocations: 12.03 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1643, allocations: 0 / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1643, allocations: 3.984 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1644, allocations: 19.98 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1644, allocations: 4 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.1645, allocations: 4.125 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1645, allocations: 4 kB / 485.6 MB, free: 15.25 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.0001621/0.1647, allocations: 141.7 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.1648, allocations: 15.81 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.408e-05/0.1648, allocations: 25.39 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1648, allocations: 0 / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1649, allocations: 0 / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1649, allocations: 3.938 kB / 485.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.1655, allocations: 403.2 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1655, allocations: 4 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.1656, allocations: 7.984 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.1656, allocations: 7.938 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1656, allocations: 4.031 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1656, allocations: 384 / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.1656, allocations: 4 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.166, allocations: 212.3 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.1661, allocations: 92.95 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.1661, allocations: 7.938 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1662, allocations: 11.98 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.1663, allocations: 4 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.1663, allocations: 4 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002439/0.1666, allocations: 208.4 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1666, allocations: 0 / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003563/0.167, allocations: 28 kB / 486.7 MB, free: 13.99 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.001649/0.1686, allocations: 1.086 MB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.1689, allocations: 63.97 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1689, allocations: 0 / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.169, allocations: 27.92 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1694, allocations: 32.91 kB / 488 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.1717, allocations: 1.84 MB / 489.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1721, allocations: 0.7274 MB / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.199e-05/0.1721, allocations: 17.17 kB / 490.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.1722, allocations: 43.42 kB / 490.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1722, allocations: 0 / 490.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.1892, allocations: 3.617 MB / 494.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.1894, allocations: 234.2 kB / 494.4 MB, free: 6.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.134, allocations: 0 / 494.4 MB, free: 6.41 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches