Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001276, allocations: 109.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 209.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.456/1.456, 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.2407/0.2407, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 71.89 kB / 417.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1747, allocations: 62.44 MB / 479.6 MB, free: 8.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.004611/0.1794, allocations: 1.781 MB / 481.4 MB, free: 7.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.1817, allocations: 1.013 MB / 482.4 MB, free: 6.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.1819, allocations: 4 kB / 482.4 MB, free: 6.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.1824, allocations: 31.91 kB / 482.4 MB, free: 5.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005902/0.183, allocations: 87.67 kB / 482.5 MB, free: 5.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1834, allocations: 59.88 kB / 482.6 MB, free: 5.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.1836, allocations: 111.7 kB / 482.7 MB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1838, allocations: 11.98 kB / 482.7 MB, free: 5.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.184, allocations: 43.73 kB / 482.7 MB, free: 5.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1841, allocations: 35.78 kB / 482.8 MB, free: 5.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.1842, allocations: 4 kB / 482.8 MB, free: 5.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.1844, allocations: 43.98 kB / 482.8 MB, free: 5.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.47e-05/0.1845, allocations: 23.92 kB / 482.8 MB, free: 5.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.68e-05/0.1846, allocations: 39.72 kB / 482.9 MB, free: 5.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.1849, allocations: 119.8 kB / 483 MB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.185, allocations: 0 / 483 MB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.185, allocations: 0 / 483 MB, free: 5.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.185, allocations: 0 / 483 MB, free: 5.426 MB / 398.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.0008325/0.1858, allocations: 411 kB / 483.4 MB, free: 4.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.1859, allocations: 8.031 kB / 483.4 MB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.186, allocations: 38.75 kB / 483.5 MB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.186, allocations: 12.75 kB / 483.5 MB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1864, allocations: 210.6 kB / 483.7 MB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1864, allocations: 4.375 kB / 483.7 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.1864, allocations: 11.94 kB / 483.7 MB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.1867, allocations: 53.61 kB / 483.7 MB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1867, allocations: 3.938 kB / 483.7 MB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.1867, allocations: 4 kB / 483.7 MB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1867, allocations: 0 / 483.7 MB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.1868, allocations: 19.98 kB / 483.8 MB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.1874, allocations: 296.8 kB / 484.1 MB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.1877, allocations: 58.62 kB / 484.1 MB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.1877, allocations: 24.84 kB / 484.1 MB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1878, allocations: 0 / 484.1 MB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.1881, allocations: 63.39 kB / 484.2 MB, free: 4.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.1881, allocations: 4 kB / 484.2 MB, free: 4.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006665/0.1887, allocations: 173.4 kB / 484.4 MB, free: 3.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.1888, allocations: 51.41 kB / 484.4 MB, free: 3.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.1891, allocations: 202.7 kB / 484.6 MB, free: 3.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.1891, allocations: 29.7 kB / 484.6 MB, free: 3.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1893, allocations: 100.1 kB / 484.7 MB, free: 3.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.1893, allocations: 19.72 kB / 484.8 MB, free: 3.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.1894, allocations: 29.7 kB / 484.8 MB, free: 3.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002919/0.1897, allocations: 322.8 kB / 485.1 MB, free: 3.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/0.1898, allocations: 20.19 kB / 485.1 MB, free: 3.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-05/0.1899, allocations: 45.64 kB / 485.2 MB, free: 3.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.19, allocations: 53.7 kB / 485.2 MB, free: 2.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.19, allocations: 0 / 485.2 MB, free: 2.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002086/0.1903, allocations: 117.4 kB / 485.3 MB, free: 2.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1903, allocations: 7.984 kB / 485.4 MB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1903, allocations: 0 / 485.4 MB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1903, allocations: 0 / 485.4 MB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.1904, allocations: 16 kB / 485.4 MB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1904, allocations: 0 / 485.4 MB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.1905, allocations: 7.922 kB / 485.4 MB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1905, allocations: 4 kB / 485.4 MB, free: 2.809 MB / 398.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.0001335/0.1907, allocations: 128.6 kB / 485.5 MB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.1907, allocations: 19.88 kB / 485.5 MB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.1908, allocations: 17.39 kB / 485.5 MB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1908, allocations: 0 / 485.5 MB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.1908, allocations: 4 kB / 485.5 MB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1908, allocations: 3.938 kB / 485.5 MB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.1913, allocations: 387.5 kB / 485.9 MB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1913, allocations: 4 kB / 485.9 MB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.1914, allocations: 11.92 kB / 485.9 MB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1914, allocations: 11.97 kB / 486 MB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1914, allocations: 4 kB / 486 MB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1914, allocations: 0 / 486 MB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1914, allocations: 4.234 kB / 486 MB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.1917, allocations: 204.1 kB / 486.2 MB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.1918, allocations: 85 kB / 486.2 MB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1918, allocations: 15.94 kB / 486.3 MB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.1919, allocations: 0 / 486.3 MB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.1919, allocations: 4 kB / 486.3 MB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.192, allocations: 7.984 kB / 486.3 MB, free: 1.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1921, allocations: 148.2 kB / 486.4 MB, free: 1.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1921, allocations: 0 / 486.4 MB, free: 1.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1924, allocations: 27.98 kB / 486.4 MB, free: 1.637 MB / 398.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.001813/0.1942, allocations: 1.097 MB / 487.5 MB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1944, allocations: 67.91 kB / 487.6 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1944, allocations: 0 / 487.6 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.1945, allocations: 31.98 kB / 487.6 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.1949, allocations: 26.86 kB / 487.7 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.1974, allocations: 1.666 MB / 489.3 MB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.1979, allocations: 0.7041 MB / 490 MB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.455e-05/0.198, allocations: 20.86 kB / 490.1 MB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.1981, allocations: 35.42 kB / 490.1 MB, free: 14 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1981, allocations: 0 / 490.1 MB, free: 14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.22, allocations: 3.276 MB / 493.4 MB, free: 10.84 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004118/0.2205, allocations: 240.3 kB / 493.6 MB, free: 10.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.132, allocations: 0 / 493.6 MB, free: 10.58 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches