Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.001215/0.001215, allocations: 79.69 kB / 20.02 MB, free: 4.504 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.001368/0.001368, allocations: 170.3 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9133/0.9133, allocations: 158.6 MB / 185.1 MB, free: 3 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.155/0.155, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 407.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.646e-05, allocations: 9.875 kB / 407.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00238/0.002396, allocations: 1.684 MB / 408.8 MB, free: 364 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009503/0.003347, allocations: 0.7765 MB / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.003416, allocations: 0 / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.003732, allocations: 87.62 kB / 409.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.003947, allocations: 83.59 kB / 409.8 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.004134, allocations: 95.69 kB / 409.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.0043, allocations: 103.7 kB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.004396, allocations: 12.17 kB / 410 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.004497, allocations: 67.8 kB / 410 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.004605, allocations: 59.81 kB / 410.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.004628, allocations: 7.984 kB / 410.1 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.862e-05/0.004707, allocations: 36 kB / 410.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.004764, allocations: 23.92 kB / 410.2 MB, free: 15 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.00482, allocations: 19.92 kB / 410.2 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.005029, allocations: 127.5 kB / 410.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.005033, allocations: 4 kB / 410.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.005035, allocations: 0 / 410.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.005042, allocations: 3.938 kB / 410.3 MB, free: 14.85 MB / 394.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.0004812/0.005523, allocations: 345.6 kB / 410.7 MB, free: 14.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.005566, allocations: 12.03 kB / 410.7 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.005597, allocations: 34.73 kB / 410.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.005631, allocations: 12.84 kB / 410.7 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.005835, allocations: 149.6 kB / 410.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.005847, allocations: 4.375 kB / 410.9 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.005868, allocations: 8.375 kB / 410.9 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.005992, allocations: 57.98 kB / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.006002, allocations: 0 / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.006011, allocations: 0 / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.006016, allocations: 0 / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.45e-05/0.00607, allocations: 23.92 kB / 410.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.006395, allocations: 264 kB / 411.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.006514, allocations: 54.69 kB / 411.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.006548, allocations: 20.84 kB / 411.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.006561, allocations: 11.88 kB / 411.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.006677, allocations: 71.39 kB / 411.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.006678, allocations: 0 / 411.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004134/0.007091, allocations: 193.3 kB / 411.6 MB, free: 13.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.007121, allocations: 51.41 kB / 411.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.007267, allocations: 230.7 kB / 411.8 MB, free: 13.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.007279, allocations: 25.7 kB / 411.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.007331, allocations: 108.1 kB / 412 MB, free: 13.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.007356, allocations: 23.84 kB / 412 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.007386, allocations: 29.72 kB / 412 MB, free: 12.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.007471, allocations: 330.8 kB / 412.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/0.007508, allocations: 20 kB / 412.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.647e-05/0.007555, allocations: 33.7 kB / 412.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.076e-05/0.007635, allocations: 69.62 kB / 412.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007636, allocations: 0 / 412.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001303/0.007766, allocations: 105.5 kB / 412.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.007781, allocations: 4 kB / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.007786, allocations: 4.156 kB / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.007797, allocations: 4.031 kB / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.00786, allocations: 19.98 kB / 412.6 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.007865, allocations: 3.984 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.007893, allocations: 4 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.0079, allocations: 4 kB / 412.6 MB, free: 12.36 MB / 394.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 6.844e-05/0.007968, allocations: 133.8 kB / 412.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.00798, allocations: 7.953 kB / 412.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.008228, allocations: 123.1 kB / 412.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.00823, allocations: 0 / 412.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.008234, allocations: 4 kB / 412.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.008237, allocations: 0 / 412.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.008539, allocations: 386.2 kB / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.00854, allocations: 0 / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.008569, allocations: 15.92 kB / 413.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.008571, allocations: 0 / 413.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.00858, allocations: 4 kB / 413.3 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.008582, allocations: 0 / 413.3 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.008584, allocations: 4.312 kB / 413.3 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.008729, allocations: 216.2 kB / 413.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.008741, allocations: 15.97 kB / 413.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.008758, allocations: 12 kB / 413.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.008798, allocations: 0 / 413.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.008837, allocations: 11.92 kB / 413.5 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.008851, allocations: 4 kB / 413.5 MB, free: 11.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.888e-05/0.008949, allocations: 172.3 kB / 413.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008949, allocations: 0 / 413.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.009128, allocations: 20 kB / 413.7 MB, free: 11.16 MB / 394.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.00103/0.01016, allocations: 1.133 MB / 414.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.01029, allocations: 63.91 kB / 414.9 MB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.0103, allocations: 0 / 414.9 MB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.284e-05/0.01034, allocations: 23.94 kB / 414.9 MB, free: 9.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.01058, allocations: 44.28 kB / 415 MB, free: 9.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.01191, allocations: 1.736 MB / 416.7 MB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.016e-05/0.01198, allocations: 100.8 kB / 416.8 MB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.801e-05/0.01202, allocations: 8.5 kB / 416.8 MB, free: 7.949 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.01207, allocations: 44.47 kB / 416.9 MB, free: 7.906 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01207, allocations: 0 / 416.9 MB, free: 7.906 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.02971, allocations: 4.353 MB / 421.2 MB, free: 3.406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.11, allocations: 23.83 kB / 421.2 MB, free: 3.383 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.346743220463395]