Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.0008586/0.0008586, 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.001205/0.001205, 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.8705/0.8705, 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.2186/0.2186, allocations: 32.79 MB / 293.5 MB, free: 1.23 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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.714e-05, allocations: 2.281 kB / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001995/0.002012, allocations: 1.712 MB / 441.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.003636, allocations: 1.668 MB / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.003717, allocations: 4 kB / 443.1 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.003995, allocations: 43.64 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.004305, allocations: 99.53 kB / 443.2 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.004468, allocations: 79.61 kB / 443.3 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.00461, allocations: 107.6 kB / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.004694, allocations: 8 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.004771, allocations: 63.75 kB / 443.5 MB, free: 356 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.894e-05/0.00486, allocations: 35.89 kB / 443.5 MB, free: 320 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.004875, allocations: 4 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.005006, allocations: 107.8 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.005052, allocations: 15.92 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.005087, allocations: 23.92 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1582/0.1633, allocations: 181.4 kB / 443.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1633, allocations: 1 kB / 443.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1633, allocations: 0 / 443.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1633, allocations: 2.469 kB / 443.8 MB, free: 43.07 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.0004403/0.1638, allocations: 349.4 kB / 444.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1638, allocations: 8.438 kB / 444.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.171e-05/0.1638, allocations: 35.16 kB / 444.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.1639, allocations: 11.91 kB / 444.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.1641, allocations: 146.7 kB / 444.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1641, allocations: 6.25 kB / 444.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1641, allocations: 4.547 kB / 444.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1642, allocations: 98.61 kB / 444.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1642, allocations: 3.281 kB / 444.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.1642, allocations: 3.562 kB / 444.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1642, allocations: 0 / 444.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.667e-05/0.1643, allocations: 24.12 kB / 444.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.1645, allocations: 252.1 kB / 444.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1646, allocations: 60.02 kB / 444.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.1647, allocations: 20.58 kB / 444.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1647, allocations: 4.719 kB / 444.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.1648, allocations: 73.25 kB / 444.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.1648, allocations: 0.5625 kB / 444.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003847/0.1652, allocations: 185 kB / 445.1 MB, free: 42.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.1652, allocations: 80.23 kB / 445.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.1653, allocations: 170.4 kB / 445.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.1653, allocations: 29.27 kB / 445.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.1653, allocations: 98 kB / 445.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1653, allocations: 25.81 kB / 445.5 MB, free: 41.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1654, allocations: 25.36 kB / 445.5 MB, free: 41.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.492e-05/0.1654, allocations: 324.9 kB / 445.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.1654, allocations: 24.06 kB / 445.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.1655, allocations: 68.8 kB / 445.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.164e-05/0.1655, allocations: 64.19 kB / 446 MB, free: 41.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1655, allocations: 0 / 446 MB, free: 41.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001/0.1656, allocations: 107.2 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1656, allocations: 5.469 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1656, allocations: 3.203 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1657, allocations: 5.812 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.1657, allocations: 14.72 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1657, allocations: 2.688 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.1658, allocations: 8.938 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1658, allocations: 5.75 kB / 446.1 MB, free: 41.41 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.658e-05/0.1658, allocations: 124.4 kB / 446.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.1658, allocations: 13.64 kB / 446.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.166, allocations: 117.6 kB / 446.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.166, allocations: 1.5 kB / 446.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.166, allocations: 0 / 446.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.166, allocations: 6.078 kB / 446.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1662, allocations: 378.1 kB / 446.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1662, allocations: 0.7188 kB / 446.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.1662, allocations: 14.02 kB / 446.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1662, allocations: 0 / 446.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1662, allocations: 6.375 kB / 446.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1662, allocations: 3.938 kB / 446.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1662, allocations: 0 / 446.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.906e-05/0.1663, allocations: 208.4 kB / 447 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.1663, allocations: 12.86 kB / 447 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1664, allocations: 6.594 kB / 447 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.1664, allocations: 10.78 kB / 447 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.1664, allocations: 9.375 kB / 447 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1664, allocations: 9.844 kB / 447 MB, free: 40.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.983e-05/0.1665, allocations: 128.4 kB / 447.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1665, allocations: 0 / 447.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.1667, allocations: 47.52 kB / 447.2 MB, free: 40.74 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.0009999/0.1677, allocations: 1.25 MB / 448.4 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1678, allocations: 60.67 kB / 448.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1678, allocations: 0 / 448.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.1679, allocations: 34.52 kB / 448.5 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1681, allocations: 31.2 kB / 448.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009273/0.169, allocations: 1.612 MB / 450.2 MB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.565e-05/0.1691, allocations: 89.16 kB / 450.3 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.1691, allocations: 24.84 kB / 450.3 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.1692, allocations: 37.03 kB / 450.3 MB, free: 38.65 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1692, allocations: 0 / 450.3 MB, free: 38.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.1871, allocations: 4.899 MB / 455.2 MB, free: 37.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.093, allocations: 9.719 kB / 455.2 MB, free: 37.11 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.150446842424572]