Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.001344/0.001344, 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.001782/0.001782, 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.413/1.413, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2367/0.2367, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 64.3 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1767, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004321/0.1811, allocations: 1.696 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1829, allocations: 0.8886 MB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.183, allocations: 0 / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.1834, allocations: 39.77 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1836, allocations: 51.77 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.184, allocations: 119.2 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1842, allocations: 91.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1843, allocations: 12.23 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.767e-05/0.1844, allocations: 47.77 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.1845, allocations: 23.86 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1845, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1846, allocations: 47.92 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.1847, allocations: 23.91 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.1848, allocations: 31.75 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.185, allocations: 115.8 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.185, allocations: 4 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.185, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.185, allocations: 4 kB / 472.6 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.0006056/0.1856, allocations: 403 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.1857, allocations: 8.031 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.1858, allocations: 38.75 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.1858, allocations: 16.69 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1861, allocations: 208.1 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1861, allocations: 384 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1861, allocations: 11.94 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1863, allocations: 53.67 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1864, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1864, allocations: 4 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1864, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.22e-05/0.1865, allocations: 19.98 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.1869, allocations: 284.8 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1871, allocations: 62.61 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.1872, allocations: 20.86 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1873, allocations: 0 / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002868/0.1876, allocations: 75.31 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1876, allocations: 0 / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006309/0.1882, allocations: 169.2 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1883, allocations: 55.41 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.1885, allocations: 194.1 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1885, allocations: 25.7 kB / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.1886, allocations: 104.1 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1886, allocations: 19.72 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.1887, allocations: 29.7 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1888, allocations: 322.8 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.1889, allocations: 12 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.78e-05/0.1889, allocations: 41.7 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1891, allocations: 65.62 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1891, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.1893, allocations: 109.5 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1893, allocations: 4 kB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1893, allocations: 192 / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1893, allocations: 4.031 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.1894, allocations: 23.88 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1894, allocations: 0 / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1895, allocations: 7.922 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1895, allocations: 4 kB / 474.9 MB, free: 8.469 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.0001209/0.1896, allocations: 121.8 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1897, allocations: 11.91 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.1897, allocations: 16.7 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1897, allocations: 3.984 kB / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1897, allocations: 4 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1897, allocations: 3.938 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.1902, allocations: 391.3 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1902, allocations: 0 / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.1902, allocations: 11.98 kB / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1902, allocations: 3.938 kB / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1903, allocations: 4 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.1903, allocations: 7.875 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1903, allocations: 4.031 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.1905, allocations: 200.2 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.1906, allocations: 85.39 kB / 475.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.1906, allocations: 3.938 kB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.1907, allocations: 11.98 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.1907, allocations: 12 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.1907, allocations: 0 / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1909, allocations: 147.2 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1909, allocations: 0 / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1912, allocations: 24 kB / 475.9 MB, free: 7.312 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.001544/0.1927, allocations: 1.092 MB / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.1929, allocations: 67.89 kB / 477.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1929, allocations: 64 / 477.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.193, allocations: 31.94 kB / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1934, allocations: 31.84 kB / 477.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.1953, allocations: 1.63 MB / 478.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1956, allocations: 0.7041 MB / 479.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.653e-05/0.1957, allocations: 12.88 kB / 479.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.1957, allocations: 35.42 kB / 479.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1958, allocations: 0 / 479.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.2176, allocations: 3.291 MB / 482.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.712, allocations: 9.812 kB / 482.8 MB, free: 0.5312 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_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_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches