Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001377/0.001377, allocations: 79.7 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.001459/0.001459, allocations: 170 kB / 23.94 MB, free: 0.6172 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.9349/0.9349, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2723/0.2723, allocations: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 442.3 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.875e-05, allocations: 2.281 kB / 442.3 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.1723/0.1723, allocations: 1.704 MB / 444 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1733, allocations: 0.978 MB / 444.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.1734, allocations: 3.938 kB / 444.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1736, allocations: 36.56 kB / 445 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1738, allocations: 96.55 kB / 445.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.174, allocations: 76.36 kB / 445.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1741, allocations: 119.3 kB / 445.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.979e-05/0.1742, allocations: 6.812 kB / 445.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.1742, allocations: 56.53 kB / 445.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.1743, allocations: 29.28 kB / 445.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1743, allocations: 3.094 kB / 445.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.1744, allocations: 39.19 kB / 445.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.1744, allocations: 23.66 kB / 445.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.1744, allocations: 20.23 kB / 445.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1746, allocations: 123 kB / 445.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1746, allocations: 0.5625 kB / 445.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1746, allocations: 2.938 kB / 445.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1746, allocations: 0 / 445.6 MB, free: 42.5 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.000334/0.1749, allocations: 345.1 kB / 445.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.175, allocations: 8.25 kB / 445.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.182e-05/0.175, allocations: 36.69 kB / 445.9 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.175, allocations: 14.28 kB / 446 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1752, allocations: 147 kB / 446.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1752, allocations: 3.156 kB / 446.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1752, allocations: 3.219 kB / 446.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.557e-05/0.1753, allocations: 68.31 kB / 446.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1753, allocations: 0 / 446.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1753, allocations: 0 / 446.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1753, allocations: 0 / 446.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/0.1754, allocations: 27.33 kB / 446.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.1756, allocations: 257.2 kB / 446.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.1757, allocations: 66.77 kB / 446.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.1757, allocations: 20.66 kB / 446.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.1757, allocations: 0 / 446.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.666e-05/0.1758, allocations: 70.11 kB / 446.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 6.92e-07/0.1758, allocations: 0 / 446.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003444/0.1762, allocations: 193.6 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.1762, allocations: 51.91 kB / 446.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.1763, allocations: 199.1 kB / 447 MB, free: 41.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.331e-06/0.1763, allocations: 29.39 kB / 447.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.1763, allocations: 104.7 kB / 447.2 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.1763, allocations: 25.28 kB / 447.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.1764, allocations: 25.03 kB / 447.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.701e-05/0.1764, allocations: 326.8 kB / 447.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.1764, allocations: 20.45 kB / 447.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.1764, allocations: 42.5 kB / 447.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.1765, allocations: 61.28 kB / 447.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1765, allocations: 0 / 447.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.315e-05/0.1766, allocations: 111 kB / 447.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1766, allocations: 5.562 kB / 447.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1766, allocations: 0 / 447.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1766, allocations: 0 / 447.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.1767, allocations: 17.38 kB / 447.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1767, allocations: 4.906 kB / 447.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.1767, allocations: 0 / 447.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.1767, allocations: 2.594 kB / 447.8 MB, free: 40.88 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 4.968e-05/0.1768, allocations: 139.5 kB / 447.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.1768, allocations: 9.234 kB / 447.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.1769, allocations: 122.2 kB / 448.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1769, allocations: 0 / 448.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1769, allocations: 2.969 kB / 448.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1769, allocations: 0 / 448.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1771, allocations: 373.8 kB / 448.4 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1771, allocations: 0 / 448.4 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.1772, allocations: 12.31 kB / 448.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1772, allocations: 2.688 kB / 448.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.1772, allocations: 10.97 kB / 448.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1772, allocations: 3.406 kB / 448.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1772, allocations: 3.938 kB / 448.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.592e-05/0.1773, allocations: 211.3 kB / 448.7 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.1773, allocations: 14.19 kB / 448.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1773, allocations: 6.688 kB / 448.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.735e-05/0.1773, allocations: 6.844 kB / 448.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.1773, allocations: 11.25 kB / 448.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1774, allocations: 2.906 kB / 448.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.926e-05/0.1774, allocations: 157.6 kB / 448.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1774, allocations: 4 kB / 448.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.1776, allocations: 24 kB / 448.9 MB, free: 40.18 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.0008139/0.1784, allocations: 1.141 MB / 450 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.1785, allocations: 62.89 kB / 450.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.1785, allocations: 0 / 450.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.1785, allocations: 31.19 kB / 450.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.1788, allocations: 35.27 kB / 450.2 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008773/0.1796, allocations: 1.679 MB / 451.8 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.1797, allocations: 96.5 kB / 451.9 MB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.1797, allocations: 20.03 kB / 452 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.1798, allocations: 34.03 kB / 452 MB, free: 38.07 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1798, allocations: 0 / 452 MB, free: 38.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.1934, allocations: 4.272 MB / 456.3 MB, free: 36.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.161, allocations: 6.562 kB / 456.3 MB, free: 36.68 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_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_1_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.303080221638083]