Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008576/0.0008576, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9219/0.9219, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 32.78 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.993e-05, allocations: 6.281 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002108/0.002128, allocations: 1.718 MB / 441.4 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.003185, allocations: 0.9741 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.003254, allocations: 0 / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.003515, allocations: 31.83 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.00377, allocations: 103.4 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.003918, allocations: 83.66 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.00406, allocations: 107.6 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.004148, allocations: 8 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.891e-05/0.004227, allocations: 51.89 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.167e-05/0.004299, allocations: 27.91 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.004314, allocations: 4 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.912e-05/0.004393, allocations: 55.78 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.004443, allocations: 19.92 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.004478, allocations: 15.94 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.004644, allocations: 115.6 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.004647, allocations: 7.984 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004648, allocations: 4 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004653, allocations: 0 / 443 MB, free: 0.8203 MB / 410.7 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.0004017/0.005054, allocations: 345.5 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.005093, allocations: 12.03 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.005121, allocations: 38.67 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.005151, allocations: 8.891 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.005363, allocations: 150.3 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.005375, allocations: 4.312 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.005392, allocations: 4.375 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.005506, allocations: 61.98 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.005514, allocations: 0 / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.005522, allocations: 0 / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.005527, allocations: 4 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.005576, allocations: 19.98 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1833/0.1889, allocations: 255.3 kB / 443.9 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.189, allocations: 55.84 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.1891, allocations: 24.59 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.1891, allocations: 2.906 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.1892, allocations: 70.41 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.324e-06/0.1892, allocations: 2.719 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004386/0.1896, allocations: 183.6 kB / 444.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.1897, allocations: 56.12 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1898, allocations: 205.6 kB / 444.5 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.1898, allocations: 27.95 kB / 444.5 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.1898, allocations: 106.4 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.1898, allocations: 22.05 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.1899, allocations: 25.81 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.315e-05/0.1899, allocations: 329 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.1899, allocations: 18.83 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.19, allocations: 40 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.453e-05/0.19, allocations: 60.36 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.19, allocations: 0 / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001037/0.1902, allocations: 117.6 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1902, allocations: 6.219 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1902, allocations: 0 / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1902, allocations: 1.375 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.1903, allocations: 16.72 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1903, allocations: 5.734 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.1903, allocations: 2.156 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1903, allocations: 5.766 kB / 445.2 MB, free: 45.57 MB / 410.7 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 5.521e-05/0.1904, allocations: 132 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.1904, allocations: 13.33 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.1905, allocations: 122.3 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1905, allocations: 3.312 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.1905, allocations: 0 / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1905, allocations: 0 / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1908, allocations: 380 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1908, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.1908, allocations: 8.594 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1908, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1908, allocations: 8.922 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1908, allocations: 5.125 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1908, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.1909, allocations: 214 kB / 446.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.1909, allocations: 17.91 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1909, allocations: 0 / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.917e-05/0.191, allocations: 6.125 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.191, allocations: 6.203 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.191, allocations: 7 kB / 446.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.1911, allocations: 153.7 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1911, allocations: 3.25 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.1913, allocations: 28.62 kB / 446.3 MB, free: 44.87 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0008844/0.1921, allocations: 1.136 MB / 447.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1923, allocations: 69.06 kB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1923, allocations: 0 / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.1923, allocations: 27.7 kB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1926, allocations: 31.77 kB / 447.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.1935, allocations: 1.678 MB / 449.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.1935, allocations: 94.27 kB / 449.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.703e-05/0.1936, allocations: 20.81 kB / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.1936, allocations: 36.02 kB / 449.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1936, allocations: 0 / 449.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.2109, allocations: 4.286 MB / 453.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.183, allocations: 10.98 kB / 453.7 MB, free: 41.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.28370386082679]