Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.001086/0.001086, allocations: 104.2 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.001162/0.001163, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.457/1.457, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2252/0.2252, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 65.62 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1812, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003895/0.1851, allocations: 1.704 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.187, allocations: 0.8768 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.297e-05/0.1871, allocations: 3.938 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.1875, allocations: 43.81 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1877, allocations: 55.77 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.1881, allocations: 110.2 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1883, allocations: 91.7 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1884, allocations: 8.234 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.1885, allocations: 47.78 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.1886, allocations: 31.8 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1887, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1888, allocations: 39.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.1889, allocations: 27.91 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.1889, allocations: 35.73 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1892, allocations: 107.9 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1892, allocations: 0 / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1892, allocations: 0 / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1892, allocations: 0 / 472.5 MB, free: 11.06 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.0006079/0.1898, allocations: 417.9 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1899, allocations: 8.031 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.1899, allocations: 38.73 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.19, allocations: 16.69 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1902, allocations: 204.1 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1902, allocations: 4.375 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1903, allocations: 7.922 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1904, allocations: 61.67 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1904, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1905, allocations: 4 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1905, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.1905, allocations: 23.92 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1909, allocations: 284.8 kB / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1911, allocations: 54.69 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.1912, allocations: 24.84 kB / 473.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1912, allocations: 0 / 473.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.1914, allocations: 71.33 kB / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1914, allocations: 0 / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005581/0.192, allocations: 169.2 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.1921, allocations: 51.41 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1922, allocations: 194.1 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.1923, allocations: 29.7 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.1924, allocations: 104.1 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.1924, allocations: 23.7 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.1924, allocations: 21.72 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1926, allocations: 318.8 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.1927, allocations: 23.98 kB / 474.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.531e-05/0.1927, allocations: 41.7 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1929, allocations: 61.62 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1929, allocations: 0 / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.1931, allocations: 97.5 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1931, allocations: 8 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1931, allocations: 3.938 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1931, allocations: 0 / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.1932, allocations: 15.98 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1933, allocations: 8.031 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1933, allocations: 3.938 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1933, allocations: 8 kB / 474.9 MB, free: 8.465 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.0001072/0.1934, allocations: 125.8 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1935, allocations: 12.09 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.1935, allocations: 12.72 kB / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1935, allocations: 3.938 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1936, allocations: 4.359 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1936, allocations: 7.938 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.194, allocations: 391.3 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.194, allocations: 4 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.1941, allocations: 11.94 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1941, allocations: 3.938 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1941, allocations: 7.938 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1941, allocations: 0 / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1941, allocations: 0 / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1944, allocations: 208.5 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.1944, allocations: 85.02 kB / 475.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1945, allocations: 7.938 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.1945, allocations: 4 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.1946, allocations: 3.984 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1946, allocations: 4 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1947, allocations: 151.2 kB / 475.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1947, allocations: 3.938 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.195, allocations: 24 kB / 475.9 MB, free: 7.301 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.001511/0.1965, allocations: 1.091 MB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.1967, allocations: 59.91 kB / 477.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1967, allocations: 0 / 477.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.1968, allocations: 35.98 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1972, allocations: 35.86 kB / 477.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.1989, allocations: 1.623 MB / 478.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1992, allocations: 0.7041 MB / 479.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.905e-05/0.1993, allocations: 17.17 kB / 479.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.1994, allocations: 35.42 kB / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1994, allocations: 0 / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.2223, allocations: 3.297 MB / 482.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.786, allocations: 21.72 kB / 482.9 MB, free: 0.5078 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches