Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, allocations: 113.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.4 MB, free: 9.125 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 46.1 MB / 343.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 80.83 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1549, allocations: 62.44 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.005024/0.16, allocations: 1.781 MB / 481.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1621, allocations: 1.013 MB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.1623, allocations: 0 / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1626, allocations: 47.88 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.1631, allocations: 91.67 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1635, allocations: 59.89 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.1637, allocations: 107.7 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1638, allocations: 8 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1639, allocations: 51.72 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.164, allocations: 35.78 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1641, allocations: 8 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1642, allocations: 43.98 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.1643, allocations: 19.92 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.893e-05/0.1643, allocations: 47.67 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.1646, allocations: 123.8 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1646, allocations: 4 kB / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1646, allocations: 0 / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1646, allocations: 0 / 483 MB, free: 2.043 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.000694/0.1653, allocations: 429.4 kB / 483.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.1654, allocations: 20.02 kB / 483.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.1655, allocations: 30.75 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.1655, allocations: 12.84 kB / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1658, allocations: 217.6 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1658, allocations: 384 / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.1659, allocations: 7.938 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1661, allocations: 61.61 kB / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1661, allocations: 0 / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1661, allocations: 0 / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1661, allocations: 0 / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.1662, allocations: 23.98 kB / 483.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.1666, allocations: 304.7 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1668, allocations: 58.62 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.1669, allocations: 20.84 kB / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1669, allocations: 4 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.1672, allocations: 71.33 kB / 484.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1672, allocations: 0 / 484.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005678/0.1678, allocations: 173.1 kB / 484.4 MB, free: 468 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1678, allocations: 55.41 kB / 484.5 MB, free: 400 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.1681, allocations: 238.1 kB / 484.7 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1681, allocations: 25.7 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.1682, allocations: 116.1 kB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.1682, allocations: 27.81 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.1683, allocations: 21.72 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1685, allocations: 322.8 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.1685, allocations: 23.92 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.1686, allocations: 41.64 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1687, allocations: 61.7 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1687, allocations: 0 / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.1689, allocations: 105.4 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.169, allocations: 6.5 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.169, allocations: 0 / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.169, allocations: 4 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1691, allocations: 15.98 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1691, allocations: 0 / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.1691, allocations: 11.94 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1692, allocations: 8.031 kB / 485.5 MB, free: 15.33 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.0001223/0.1693, allocations: 133.8 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1693, allocations: 11.89 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.1694, allocations: 21.39 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1694, allocations: 0 / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1694, allocations: 0 / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1694, allocations: 4.312 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.1699, allocations: 407.4 kB / 486.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1699, allocations: 4 kB / 486.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.17, allocations: 11.98 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.17, allocations: 3.938 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.17, allocations: 8 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.17, allocations: 0 / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.17, allocations: 0 / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1703, allocations: 200.3 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.1703, allocations: 93.09 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.1704, allocations: 11.94 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.1705, allocations: 3.938 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1705, allocations: 4 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1705, allocations: 7.984 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.1707, allocations: 172.4 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1707, allocations: 0 / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.171, allocations: 35.98 kB / 486.6 MB, free: 14.11 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.001568/0.1725, allocations: 1.085 MB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1728, allocations: 63.91 kB / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1728, allocations: 0 / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.1728, allocations: 27.98 kB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1732, allocations: 29.61 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1751, allocations: 1.756 MB / 489.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1755, allocations: 0.7156 MB / 490.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.412e-05/0.1755, allocations: 16.88 kB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.1756, allocations: 43.36 kB / 490.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1756, allocations: 0 / 490.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.191, allocations: 3.435 MB / 493.8 MB, free: 7.078 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.1913, allocations: 234.2 kB / 494 MB, free: 6.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.138, allocations: 12 kB / 494 MB, free: 6.812 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches