Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.001048/0.001048, allocations: 107.9 kB / 16.41 MB, free: 6.461 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.001058/0.001058, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2197/0.2197, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 73.45 kB / 441.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1684, allocations: 57.8 MB / 499.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.004443/0.173, allocations: 1.693 MB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1746, allocations: 0.8037 MB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1747, allocations: 3.938 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004681/0.1753, allocations: 43.83 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.1756, allocations: 59.69 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.1761, allocations: 83.78 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.1763, allocations: 99.67 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1764, allocations: 12.22 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1766, allocations: 47.78 kB / 0.4902 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.656e-05/0.1767, allocations: 27.84 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.1767, allocations: 4 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1769, allocations: 43.92 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.177, allocations: 23.92 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.325e-05/0.1771, allocations: 35.73 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.1774, allocations: 115.5 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1774, allocations: 4 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1774, allocations: 0 / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1774, allocations: 0 / 0.4905 GB, free: 9.078 MB / 382.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.000663/0.1781, allocations: 426.7 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.1781, allocations: 15.89 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/0.1782, allocations: 34.69 kB / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.1783, allocations: 12.88 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.1786, allocations: 208.8 kB / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1787, allocations: 4.375 kB / 0.4912 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.1787, allocations: 7.938 kB / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1789, allocations: 53.67 kB / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1789, allocations: 7.984 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1789, allocations: 0 / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1789, allocations: 0 / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.179, allocations: 23.92 kB / 0.4913 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.1794, allocations: 284.9 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1796, allocations: 50.69 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.1797, allocations: 28.84 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1797, allocations: 0 / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.1799, allocations: 71.33 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1799, allocations: 0 / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006594/0.1806, allocations: 189.2 kB / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1807, allocations: 51.41 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1809, allocations: 203.3 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1809, allocations: 29.7 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.181, allocations: 108.1 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.181, allocations: 23.8 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.1811, allocations: 21.7 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1813, allocations: 322.8 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.1813, allocations: 27.92 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.1814, allocations: 37.72 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1815, allocations: 61.64 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1815, allocations: 0 / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.1818, allocations: 101.6 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1818, allocations: 8 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1818, allocations: 0 / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.1818, allocations: 0 / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1819, allocations: 19.97 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.182, allocations: 4 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.182, allocations: 11.92 kB / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.182, allocations: 4 kB / 0.4928 GB, free: 6.43 MB / 382.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.0001179/0.1822, allocations: 129.8 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.1822, allocations: 11.94 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.1823, allocations: 17.41 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1823, allocations: 4 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1823, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1823, allocations: 7.938 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.1828, allocations: 383.3 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1828, allocations: 7.984 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.1828, allocations: 12 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1829, allocations: 7.875 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1829, allocations: 0 / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1829, allocations: 0 / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1829, allocations: 4 kB / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1832, allocations: 200.4 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.1832, allocations: 93.38 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1833, allocations: 7.938 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.1833, allocations: 4 kB / 0.4937 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.1834, allocations: 11.92 kB / 0.4937 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.1834, allocations: 8 kB / 0.4937 GB, free: 5.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.1836, allocations: 152.9 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1836, allocations: 0 / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1839, allocations: 20 kB / 0.4939 GB, free: 5.258 MB / 382.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.00173/0.1856, allocations: 1.096 MB / 0.4949 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1858, allocations: 59.91 kB / 0.495 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1858, allocations: 0 / 0.495 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/0.1859, allocations: 35.91 kB / 0.495 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.1864, allocations: 32.02 kB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1883, allocations: 1.662 MB / 0.4967 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1887, allocations: 0.708 MB / 0.4974 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.522e-05/0.1887, allocations: 13.2 kB / 0.4974 GB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.1888, allocations: 35.42 kB / 0.4974 GB, free: 1.516 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1888, allocations: 0 / 0.4974 GB, free: 1.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.21, allocations: 3.419 MB / 0.5008 GB, free: 14.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.721, allocations: 12.16 kB / 0.5008 GB, free: 14.06 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches