Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 115.3 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 78.83 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1568, allocations: 62.44 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.004538/0.1613, allocations: 1.793 MB / 481.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1633, allocations: 1.01 MB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1635, allocations: 0 / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.1638, allocations: 39.83 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.1643, allocations: 83.73 kB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.1646, allocations: 59.83 kB / 482.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.1648, allocations: 115.7 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1649, allocations: 4 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1651, allocations: 43.8 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.262e-05/0.1652, allocations: 43.77 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1652, allocations: 4 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1653, allocations: 47.92 kB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.1654, allocations: 15.92 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.1655, allocations: 39.73 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1657, allocations: 111.9 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1658, allocations: 4 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1658, allocations: 0 / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1658, allocations: 0 / 483 MB, free: 2.086 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.0006014/0.1664, allocations: 418.9 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1664, allocations: 8.031 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.1665, allocations: 42.67 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.1666, allocations: 12.84 kB / 483.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1668, allocations: 210.6 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.1669, allocations: 8.375 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1669, allocations: 3.938 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1671, allocations: 57.67 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1671, allocations: 3.906 kB / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1671, allocations: 0 / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1671, allocations: 0 / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.1672, allocations: 19.98 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1677, allocations: 288.8 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1679, allocations: 62.61 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.1679, allocations: 16.86 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.168, allocations: 3.984 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.1683, allocations: 83.31 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.1683, allocations: 0 / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006204/0.1689, allocations: 165.2 kB / 484.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.169, allocations: 51.41 kB / 484.4 MB, free: 480 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.1692, allocations: 202.7 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1692, allocations: 25.7 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.1693, allocations: 108.1 kB / 484.8 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.1694, allocations: 19.7 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.1694, allocations: 25.72 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1696, allocations: 322.8 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.002e-05/0.1697, allocations: 23.98 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.1698, allocations: 33.7 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.17, allocations: 61.64 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.17, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002138/0.1702, allocations: 105.5 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1702, allocations: 10.66 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1702, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1703, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.1704, allocations: 19.92 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1704, allocations: 4 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.1704, allocations: 3.938 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1704, allocations: 8 kB / 485.4 MB, free: 15.46 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.0001284/0.1706, allocations: 128.5 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1706, allocations: 11.91 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.1707, allocations: 21.34 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1707, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1707, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.1707, allocations: 7.922 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.1712, allocations: 395.2 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1712, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.1713, allocations: 8.031 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1713, allocations: 7.938 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.1713, allocations: 11.98 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1713, allocations: 4.359 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1713, allocations: 384 / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1716, allocations: 200.2 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.1717, allocations: 92.92 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.1717, allocations: 15.94 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.1718, allocations: 0 / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.1719, allocations: 7.984 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1719, allocations: 4 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.172, allocations: 152.7 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.172, allocations: 0 / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1723, allocations: 20 kB / 486.4 MB, free: 14.29 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.001844/0.1742, allocations: 1.085 MB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1744, allocations: 71.89 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1744, allocations: 0 / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.1745, allocations: 27.94 kB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1749, allocations: 43.09 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.1772, allocations: 1.659 MB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1776, allocations: 0.708 MB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.597e-05/0.1776, allocations: 16.86 kB / 490.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.1778, allocations: 35.42 kB / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1778, allocations: 0 / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.1948, allocations: 3.277 MB / 493.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/0.1951, allocations: 230.2 kB / 493.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.12, allocations: 0 / 493.6 MB, free: 7.254 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches