Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 100 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 192.1 kB / 18.56 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.18 MB / 336.6 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 64.95 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.174, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.005654/0.1797, allocations: 1.696 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.1825, allocations: 0.8847 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.1827, allocations: 3.938 kB / 472 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.1832, allocations: 43.81 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.1837, allocations: 51.7 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.1843, allocations: 118.1 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.1846, allocations: 95.7 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1847, allocations: 8.219 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1849, allocations: 39.8 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.185, allocations: 31.8 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.1851, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1853, allocations: 43.97 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.1854, allocations: 19.92 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.842e-05/0.1855, allocations: 39.73 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.1858, allocations: 119.9 kB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1858, allocations: 0 / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1859, allocations: 0 / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.1859, allocations: 3.938 kB / 472.6 MB, free: 11.07 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.0008561/0.1867, allocations: 418.8 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.1868, allocations: 12.03 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.29e-05/0.1869, allocations: 30.75 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.187, allocations: 8.844 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.1873, allocations: 214.7 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1873, allocations: 4.375 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.1874, allocations: 7.938 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1876, allocations: 53.67 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1876, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1876, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1877, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1878, allocations: 23.92 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.1884, allocations: 292.8 kB / 473.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1886, allocations: 54.67 kB / 473.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.1887, allocations: 20.86 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.1888, allocations: 0 / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/0.1891, allocations: 75.31 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.1892, allocations: 0 / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000891/0.1901, allocations: 169.2 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.1902, allocations: 59.39 kB / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.1905, allocations: 203.3 kB / 474.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.1905, allocations: 29.69 kB / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.1906, allocations: 104.1 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.1907, allocations: 23.7 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.1907, allocations: 21.72 kB / 474.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.191, allocations: 322.8 kB / 474.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.1911, allocations: 23.98 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1912, allocations: 33.7 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1914, allocations: 65.64 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1914, allocations: 0 / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003178/0.1918, allocations: 105.8 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1918, allocations: 8 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1918, allocations: 0 / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1918, allocations: 0 / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.192, allocations: 23.92 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.192, allocations: 4.188 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.1921, allocations: 7.938 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1921, allocations: 7.938 kB / 474.9 MB, free: 8.441 MB / 350.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.0001591/0.1923, allocations: 125.8 kB / 475.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.1923, allocations: 15.91 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.1924, allocations: 13.41 kB / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1924, allocations: 0 / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.1924, allocations: 7.984 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.1925, allocations: 3.938 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.1931, allocations: 387.3 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.1931, allocations: 4 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.1932, allocations: 11.97 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.1932, allocations: 7.938 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1933, allocations: 4 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1933, allocations: 3.984 kB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.1933, allocations: 4 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.1937, allocations: 204.4 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.1937, allocations: 85.02 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.1938, allocations: 11.94 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1939, allocations: 0 / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.194, allocations: 7.984 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.194, allocations: 7.938 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.1942, allocations: 151.9 kB / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1942, allocations: 0 / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.1947, allocations: 24 kB / 476 MB, free: 7.277 MB / 350.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.002587/0.1973, allocations: 1.094 MB / 477.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.1976, allocations: 59.86 kB / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1976, allocations: 0 / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.1977, allocations: 31.92 kB / 477.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.1983, allocations: 38.88 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.2016, allocations: 1.652 MB / 478.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.2021, allocations: 0.708 MB / 479.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.2023, allocations: 21.17 kB / 479.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2024, allocations: 35.42 kB / 479.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2024, allocations: 0 / 479.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.2319, allocations: 3.343 MB / 483 MB, free: 436 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/7.765, allocations: 7.938 kB / 483 MB, free: 428 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches