Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 104.9 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 209.8 kB / 18.14 MB, free: 5.371 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 / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.09 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 75.61 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.17, allocations: 62.44 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.004022/0.1741, allocations: 1.791 MB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.1771, allocations: 1.596 MB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1772, allocations: 4 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.1776, allocations: 39.84 kB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.178, allocations: 75.73 kB / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1784, allocations: 67.81 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.1786, allocations: 95.69 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1787, allocations: 12 kB / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1789, allocations: 39.78 kB / 483.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1791, allocations: 47.77 kB / 483.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.1791, allocations: 8 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.1794, allocations: 107.9 kB / 483.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.245e-05/0.1795, allocations: 11.92 kB / 483.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.1796, allocations: 31.75 kB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.18, allocations: 167.8 kB / 483.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.1801, allocations: 7.984 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1801, allocations: 0 / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1801, allocations: 0 / 483.5 MB, free: 1.527 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.0007724/0.1809, allocations: 423.1 kB / 483.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.1809, allocations: 16.81 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.273e-05/0.181, allocations: 34.75 kB / 483.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.1811, allocations: 8.844 kB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.1814, allocations: 223.5 kB / 484.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.1814, allocations: 4 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1815, allocations: 4 kB / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.1817, allocations: 71.38 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1817, allocations: 0 / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1817, allocations: 0 / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1818, allocations: 4 kB / 484.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.1818, allocations: 23.98 kB / 484.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.1824, allocations: 284.8 kB / 484.6 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.1826, allocations: 54.67 kB / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/0.1827, allocations: 28.84 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1827, allocations: 0 / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.183, allocations: 67.39 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.587e-06/0.183, allocations: 3.984 kB / 484.7 MB, free: 128 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006332/0.1836, allocations: 177.1 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.1837, allocations: 81.05 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1839, allocations: 162.5 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.184, allocations: 37.64 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.184, allocations: 92.14 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.1841, allocations: 27.64 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.1841, allocations: 25.72 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1843, allocations: 318.8 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.1844, allocations: 27.92 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.1845, allocations: 46.56 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1846, allocations: 53.7 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1846, allocations: 0 / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002356/0.1849, allocations: 105.6 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.1849, allocations: 4 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.1849, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.185, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1851, allocations: 27.86 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1851, allocations: 4.062 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.1852, allocations: 0 / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1852, allocations: 4.188 kB / 485.9 MB, free: 14.88 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.000143/0.1853, allocations: 125.8 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.1854, allocations: 16.12 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.1854, allocations: 12.72 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1855, allocations: 3.938 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1855, allocations: 0 / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.1855, allocations: 4 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000583/0.1861, allocations: 399.3 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1861, allocations: 3.938 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.1861, allocations: 11.98 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.1861, allocations: 0 / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1862, allocations: 8 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1862, allocations: 0 / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1862, allocations: 0 / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.1865, allocations: 204.2 kB / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.1866, allocations: 96.94 kB / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.1866, allocations: 0 / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.1867, allocations: 4 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.1868, allocations: 7.984 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1868, allocations: 0 / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1869, allocations: 134.5 kB / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.187, allocations: 0 / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.1873, allocations: 51.92 kB / 486.9 MB, free: 13.71 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.002202/0.1895, allocations: 1.169 MB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.1898, allocations: 67.89 kB / 488.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1898, allocations: 0 / 488.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.996e-05/0.1899, allocations: 20 kB / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.1903, allocations: 35.91 kB / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1927, allocations: 1.599 MB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.1932, allocations: 0.7054 MB / 490.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.795e-05/0.1933, allocations: 17.17 kB / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1934, allocations: 39.36 kB / 490.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1934, allocations: 0 / 490.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.2139, allocations: 3.774 MB / 494.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.2142, allocations: 240.7 kB / 494.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.216, allocations: 0 / 494.6 MB, free: 6.18 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches