Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001034/0.001034, 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.0008406/0.0008406, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8927/0.8927, allocations: 177 MB / 204.1 MB, free: 5.734 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.2571/0.2571, allocations: 34.24 MB / 294.8 MB, free: 0.6914 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.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.896e-05, allocations: 4.391 kB / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.1909/0.1909, allocations: 1.708 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1919, allocations: 0.9789 MB / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.192, allocations: 0 / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1923, allocations: 46.8 kB / 445 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1925, allocations: 102.9 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.1927, allocations: 77.11 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1928, allocations: 104.9 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.1929, allocations: 14.8 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.251e-05/0.193, allocations: 54.81 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.1931, allocations: 28.17 kB / 445.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1931, allocations: 5.75 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.85e-05/0.1932, allocations: 43.64 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.1932, allocations: 27.47 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.1933, allocations: 23.83 kB / 445.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1934, allocations: 133.5 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1934, allocations: 0 / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1934, allocations: 0.5625 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1934, allocations: 2.969 kB / 445.6 MB, free: 42.82 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.0004123/0.1939, allocations: 354.7 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1939, allocations: 8.438 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/0.1939, allocations: 33.59 kB / 446 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.194, allocations: 14.75 kB / 446 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.1942, allocations: 166.2 kB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1942, allocations: 3.281 kB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1942, allocations: 6.938 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.1943, allocations: 48.14 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1943, allocations: 3.609 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1944, allocations: 12.94 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1944, allocations: 0 / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.1944, allocations: 18.89 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.1947, allocations: 257.7 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1948, allocations: 55.47 kB / 446.5 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.1949, allocations: 27.64 kB / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1949, allocations: 5.125 kB / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.195, allocations: 69.45 kB / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.195, allocations: 3.938 kB / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003669/0.1953, allocations: 185.6 kB / 446.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.1954, allocations: 51.41 kB / 446.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1955, allocations: 239 kB / 447.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-06/0.1955, allocations: 30.36 kB / 447.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.1955, allocations: 108.6 kB / 447.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1956, allocations: 36.75 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1956, allocations: 19.31 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.1956, allocations: 334.4 kB / 447.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.1957, allocations: 23.91 kB / 447.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.1957, allocations: 40.39 kB / 447.7 MB, free: 41.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.836e-05/0.1958, allocations: 59.52 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1958, allocations: 0 / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.1959, allocations: 108.7 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1959, allocations: 3.781 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1959, allocations: 6.469 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1959, allocations: 0 / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.196, allocations: 15.72 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.196, allocations: 3.031 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/0.196, allocations: 6.469 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.196, allocations: 2.844 kB / 447.9 MB, free: 41.18 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.892e-05/0.1961, allocations: 139.2 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1961, allocations: 12.14 kB / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.1962, allocations: 137.4 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1962, allocations: 2.719 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1962, allocations: 0 / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1962, allocations: 0 / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.1965, allocations: 375.1 kB / 448.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1965, allocations: 0 / 448.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.1965, allocations: 12.59 kB / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1965, allocations: 0 / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1965, allocations: 5.938 kB / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1965, allocations: 0 / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1966, allocations: 6.594 kB / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.1967, allocations: 219.5 kB / 448.8 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.1967, allocations: 13.66 kB / 448.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1967, allocations: 6.844 kB / 448.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.1967, allocations: 6.938 kB / 448.8 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1968, allocations: 10.14 kB / 448.8 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1968, allocations: 2.844 kB / 448.8 MB, free: 40.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.546e-05/0.1968, allocations: 180.5 kB / 449 MB, free: 40.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1968, allocations: 0 / 449 MB, free: 40.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000171/0.197, allocations: 25.09 kB / 449 MB, free: 40.38 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.0009132/0.1979, allocations: 1.139 MB / 450.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.1981, allocations: 51.92 kB / 450.2 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1981, allocations: 4.062 kB / 450.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.1981, allocations: 39.58 kB / 450.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1983, allocations: 33.77 kB / 450.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1994, allocations: 1.764 MB / 452.1 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.154e-05/0.1995, allocations: 94.03 kB / 452.1 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.1995, allocations: 20.81 kB / 452.2 MB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.1996, allocations: 47.64 kB / 452.2 MB, free: 38.05 MB / 410.7 MB Notification: Performance of SimCode: time 4.9e-07/0.1996, allocations: 0 / 452.2 MB, free: 38.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.2166, allocations: 4.435 MB / 456.6 MB, free: 36.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.752/6.969, allocations: 13.91 kB / 456.7 MB, free: 36.62 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.959741541184485]