Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008171/0.0008171, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009011/0.0009011, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9022/0.9022, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2639/0.2639, allocations: 34.25 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 442.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.292e-05, allocations: 2.281 kB / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.1892/0.1892, allocations: 1.715 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1903, allocations: 0.9871 MB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.1904, allocations: 0.5625 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.1908, allocations: 89.55 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.1911, allocations: 126.8 kB / 445.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.1912, allocations: 71.25 kB / 445.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1914, allocations: 131.2 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1915, allocations: 13.22 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.1916, allocations: 74.3 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.1917, allocations: 64.66 kB / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1917, allocations: 5.594 kB / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.1918, allocations: 55.28 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.1918, allocations: 31.5 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.1919, allocations: 23.03 kB / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1921, allocations: 144 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1921, allocations: 0 / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1921, allocations: 0 / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1921, allocations: 3.312 kB / 445.8 MB, free: 42.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004561/0.1925, allocations: 368.8 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1926, allocations: 8.188 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.1926, allocations: 36.23 kB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.1926, allocations: 15.19 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1929, allocations: 161 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1929, allocations: 6.25 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1929, allocations: 9.266 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.193, allocations: 59.84 kB / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.193, allocations: 7.234 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.193, allocations: 4.125 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.193, allocations: 5.844 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.1931, allocations: 22.58 kB / 446.5 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.1934, allocations: 270.5 kB / 446.7 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1936, allocations: 63.08 kB / 446.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.1936, allocations: 20.05 kB / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1936, allocations: 0 / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.1937, allocations: 75.98 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.1937, allocations: 2.656 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005216/0.1943, allocations: 252.9 kB / 447.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.1943, allocations: 58.22 kB / 447.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1944, allocations: 234.9 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.1944, allocations: 31.58 kB / 447.5 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.1945, allocations: 106.5 kB / 447.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1945, allocations: 44.23 kB / 447.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1945, allocations: 28.89 kB / 447.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.471e-05/0.1946, allocations: 335 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/0.1946, allocations: 26.88 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.79e-05/0.1947, allocations: 49.94 kB / 448 MB, free: 41.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.1947, allocations: 80.88 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1947, allocations: 0 / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001317/0.1949, allocations: 132.6 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1949, allocations: 5.719 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1949, allocations: 3 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1949, allocations: 4.031 kB / 448.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.195, allocations: 24.95 kB / 448.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.195, allocations: 0 / 448.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.195, allocations: 6.844 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.195, allocations: 2.938 kB / 448.3 MB, free: 41.07 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 (13): * Single equations (assignments): 13 * 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 7.834e-05/0.1951, allocations: 139 kB / 448.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.1951, allocations: 13.78 kB / 448.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1953, allocations: 162.3 kB / 448.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1953, allocations: 3 kB / 448.6 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1953, allocations: 4 kB / 448.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1953, allocations: 0 / 448.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.1957, allocations: 431.8 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1957, allocations: 0 / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.1957, allocations: 22.95 kB / 449 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1957, allocations: 0 / 449 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1957, allocations: 2.375 kB / 449 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1957, allocations: 5.969 kB / 449.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1957, allocations: 0 / 449.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.1959, allocations: 247 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.1959, allocations: 14.27 kB / 449.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1959, allocations: 2.938 kB / 449.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.302e-05/0.1959, allocations: 10.78 kB / 449.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.196, allocations: 9.094 kB / 449.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.196, allocations: 5.844 kB / 449.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.1961, allocations: 175.3 kB / 449.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1961, allocations: 0 / 449.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.1963, allocations: 33.62 kB / 449.5 MB, free: 40.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001087/0.1974, allocations: 1.225 MB / 450.8 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.1975, allocations: 74.66 kB / 450.8 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1975, allocations: 0 / 450.8 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.1976, allocations: 48.16 kB / 450.9 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1978, allocations: 21.95 kB / 450.9 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.199, allocations: 1.875 MB / 452.8 MB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.743e-05/0.1991, allocations: 104.6 kB / 452.9 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.1992, allocations: 20.56 kB / 452.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.1992, allocations: 51.34 kB / 453 MB, free: 37.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1992, allocations: 0 / 453 MB, free: 37.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.2178, allocations: 4.766 MB / 457.7 MB, free: 36.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.915, allocations: 5.531 kB / 457.7 MB, free: 36.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.897077062167227]