Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.0008922/0.0008922, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008934/0.0008934, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9229/0.9229, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2406/0.2406, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.325e-05, allocations: 2.281 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002664/0.002687, allocations: 1.722 MB / 441.4 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.004255, allocations: 0.9741 MB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.004343, allocations: 0 / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.00465, allocations: 51.75 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.00496, allocations: 103.5 kB / 442.5 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.005163, allocations: 79.66 kB / 442.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.005328, allocations: 111.6 kB / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.005422, allocations: 4 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.005502, allocations: 51.89 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.005574, allocations: 27.91 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.005592, allocations: 8 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.005677, allocations: 51.8 kB / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.005736, allocations: 31.91 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.005774, allocations: 19.88 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.005962, allocations: 135.5 kB / 443 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.005966, allocations: 3.984 kB / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.005968, allocations: 0 / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.005972, allocations: 0 / 443 MB, free: 0.7695 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.000446/0.006418, allocations: 373.2 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.006457, allocations: 12.03 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.006488, allocations: 42.69 kB / 443.5 MB, free: 320 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.006526, allocations: 12.84 kB / 443.5 MB, free: 308 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.006789, allocations: 162.5 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.006802, allocations: 384 / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.00682, allocations: 8.375 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.00696, allocations: 53.98 kB / 443.7 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.006972, allocations: 4 kB / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.006981, allocations: 0 / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.006986, allocations: 4 kB / 443.7 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.007042, allocations: 19.98 kB / 443.7 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.186/0.1931, allocations: 266.1 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1932, allocations: 59.91 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.1933, allocations: 21.38 kB / 444.1 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.1933, allocations: 0 / 444.1 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.1934, allocations: 71.41 kB / 444.1 MB, free: 46.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1934, allocations: 0 / 444.1 MB, free: 46.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004216/0.1938, allocations: 196.3 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.1938, allocations: 51.41 kB / 444.4 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.194, allocations: 279.3 kB / 444.6 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.194, allocations: 28.42 kB / 444.7 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.194, allocations: 116.1 kB / 444.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.1941, allocations: 27.11 kB / 444.8 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.1941, allocations: 22.17 kB / 444.8 MB, free: 45.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.25e-05/0.1941, allocations: 326.8 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/0.1942, allocations: 22.94 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.1942, allocations: 40.03 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.571e-05/0.1943, allocations: 60.77 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1943, allocations: 2.469 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.1944, allocations: 112.8 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1944, allocations: 7.25 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1944, allocations: 5.562 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1944, allocations: 0 / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.1945, allocations: 13.34 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1945, allocations: 6.625 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.1945, allocations: 6.719 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1945, allocations: 6.312 kB / 445.4 MB, free: 45.54 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 6.38e-05/0.1946, allocations: 137.2 kB / 445.6 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.1946, allocations: 27.95 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.1948, allocations: 123 kB / 445.7 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1948, allocations: 3.5 kB / 445.7 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1948, allocations: 0 / 445.7 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.1948, allocations: 0 / 445.7 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.195, allocations: 387.2 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.195, allocations: 0 / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.1951, allocations: 8.781 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1951, allocations: 0 / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1951, allocations: 5.469 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1951, allocations: 3.844 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1951, allocations: 6.172 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.1952, allocations: 218.1 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.1952, allocations: 16.95 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1952, allocations: 1.062 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.002e-05/0.1952, allocations: 2.938 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.1953, allocations: 10.12 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1953, allocations: 2.844 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.033e-05/0.1954, allocations: 214.5 kB / 446.6 MB, free: 44.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1954, allocations: 0 / 446.6 MB, free: 44.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001837/0.1956, allocations: 35.25 kB / 446.6 MB, free: 44.76 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.0009108/0.1965, allocations: 1.144 MB / 447.7 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.1966, allocations: 65.42 kB / 447.8 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.1966, allocations: 0 / 447.8 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.1966, allocations: 24 kB / 447.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.1969, allocations: 28.62 kB / 447.9 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.198, allocations: 1.854 MB / 449.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.953e-05/0.198, allocations: 116 kB / 449.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.156e-05/0.1981, allocations: 17.66 kB / 449.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.1981, allocations: 44.41 kB / 449.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1981, allocations: 0 / 449.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.2158, allocations: 4.635 MB / 454.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/7.151, allocations: 6.031 kB / 454.5 MB, free: 41.01 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.28347732219845]