Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.000873/0.000873, allocations: 91.67 kB / 20.67 MB, free: 3.863 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.0008832/0.0008832, allocations: 166 kB / 23.95 MB, free: 0.5898 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.898/0.898, allocations: 177.1 MB / 204.2 MB, free: 5.719 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.2364/0.2364, allocations: 34.24 MB / 294.9 MB, free: 0.7383 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.Test57,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.719e-05, allocations: 4.109 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.1882/0.1882, allocations: 1.702 MB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1901, allocations: 1.673 MB / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.011e-05/0.1902, allocations: 2.656 kB / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.1905, allocations: 47.88 kB / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.1909, allocations: 93.06 kB / 445.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.191, allocations: 83.86 kB / 445.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.1912, allocations: 106.6 kB / 446 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1913, allocations: 10.47 kB / 446 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.1914, allocations: 62 kB / 446 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1915, allocations: 32.14 kB / 446.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1915, allocations: 5.344 kB / 446.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1916, allocations: 105.9 kB / 446.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.1917, allocations: 24.31 kB / 446.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.1918, allocations: 23.33 kB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.192, allocations: 175.3 kB / 446.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.192, allocations: 0.5625 kB / 446.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.192, allocations: 0 / 446.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.192, allocations: 0.7188 kB / 446.4 MB, free: 42.7 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.0004467/0.1925, allocations: 363.8 kB / 446.8 MB, free: 42.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1925, allocations: 10.69 kB / 446.8 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.1925, allocations: 36.89 kB / 446.8 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.1926, allocations: 11.34 kB / 446.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1928, allocations: 149 kB / 447 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1928, allocations: 8.312 kB / 447 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1928, allocations: 6.75 kB / 447 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1929, allocations: 95.88 kB / 447.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1929, allocations: 3.938 kB / 447.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1929, allocations: 0 / 447.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.193, allocations: 2.812 kB / 447.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.193, allocations: 23 kB / 447.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.1933, allocations: 247.8 kB / 447.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1934, allocations: 63.89 kB / 447.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.1934, allocations: 18.7 kB / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1934, allocations: 2.906 kB / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.1935, allocations: 71.58 kB / 447.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.1935, allocations: 3.312 kB / 447.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000388/0.1939, allocations: 182.7 kB / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.1939, allocations: 79.92 kB / 447.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.194, allocations: 170.7 kB / 447.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.1941, allocations: 25.7 kB / 447.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.1941, allocations: 105.1 kB / 448 MB, free: 41.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.1941, allocations: 22.09 kB / 448.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.1941, allocations: 19.5 kB / 448.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.357e-05/0.1942, allocations: 327.6 kB / 448.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.1942, allocations: 22.98 kB / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.174e-05/0.1942, allocations: 72.47 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.251e-05/0.1943, allocations: 63.31 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1943, allocations: 0 / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001058/0.1944, allocations: 114.7 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1944, allocations: 9.688 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1944, allocations: 0 / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1944, allocations: 2.875 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.1945, allocations: 14.91 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1945, allocations: 5.031 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.1945, allocations: 3.938 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1945, allocations: 2.906 kB / 448.7 MB, free: 40.74 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.404e-05/0.1946, allocations: 124 kB / 448.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.1946, allocations: 14.31 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.1948, allocations: 118.2 kB / 449 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1948, allocations: 0 / 449 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1948, allocations: 0 / 449 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1948, allocations: 3.281 kB / 449 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.195, allocations: 368.7 kB / 449.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.195, allocations: 2.875 kB / 449.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.1951, allocations: 12.44 kB / 449.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1951, allocations: 0 / 449.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1951, allocations: 10.97 kB / 449.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1951, allocations: 4.031 kB / 449.4 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1951, allocations: 3.188 kB / 449.4 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1952, allocations: 208.4 kB / 449.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.1952, allocations: 9.797 kB / 449.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1952, allocations: 6.875 kB / 449.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.003e-05/0.1953, allocations: 10.06 kB / 449.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.1953, allocations: 9.828 kB / 449.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1953, allocations: 6.297 kB / 449.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.686e-05/0.1954, allocations: 128.7 kB / 449.7 MB, free: 39.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1954, allocations: 0 / 449.7 MB, free: 39.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.1956, allocations: 58.72 kB / 449.8 MB, free: 39.93 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.001058/0.1966, allocations: 1.239 MB / 451 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.1968, allocations: 57.31 kB / 451.1 MB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1968, allocations: 4.062 kB / 451.1 MB, free: 39.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.1968, allocations: 34.45 kB / 451.1 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.197, allocations: 34.2 kB / 451.1 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009152/0.198, allocations: 1.614 MB / 452.8 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.441e-05/0.198, allocations: 87.03 kB / 452.8 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.692e-05/0.198, allocations: 23.61 kB / 452.9 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.1981, allocations: 32.09 kB / 452.9 MB, free: 37.62 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1981, allocations: 0 / 452.9 MB, free: 37.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.2154, allocations: 4.901 MB / 457.8 MB, free: 36.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/6.999, allocations: 6.609 kB / 457.8 MB, free: 36.07 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.941741526126862]