Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.000824/0.000824, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.000864/0.000864, allocations: 160.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.9084/0.9084, 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.2497/0.2497, allocations: 34.24 MB / 294.8 MB, free: 0.7109 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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 442.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.725e-05, allocations: 2.281 kB / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.1918/0.1918, allocations: 1.708 MB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.1928, allocations: 0.9752 MB / 444.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.1929, allocations: 3.938 kB / 444.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.1931, allocations: 43.38 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1933, allocations: 100.4 kB / 445.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.1934, allocations: 74.94 kB / 445.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.1935, allocations: 112.6 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.682e-05/0.1936, allocations: 6.875 kB / 445.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.1937, allocations: 54.16 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.1937, allocations: 29.22 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1937, allocations: 4.938 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.188e-05/0.1938, allocations: 43.06 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.1938, allocations: 19.94 kB / 445.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.1939, allocations: 28.44 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.194, allocations: 115.8 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.676e-06/0.194, allocations: 2.156 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.194, allocations: 2.594 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.194, allocations: 1.969 kB / 445.6 MB, free: 42.81 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.0003437/0.1944, allocations: 354.2 kB / 445.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1944, allocations: 11.62 kB / 445.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.961e-05/0.1944, allocations: 30.75 kB / 445.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.1945, allocations: 11.11 kB / 446 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1946, allocations: 159.5 kB / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1946, allocations: 1.219 kB / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1947, allocations: 7.094 kB / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/0.1948, allocations: 60.95 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1948, allocations: 3.531 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1948, allocations: 4.125 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1948, allocations: 3.312 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.1948, allocations: 20.67 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.195, allocations: 249.2 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.747e-05/0.1951, allocations: 63.83 kB / 446.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.1952, allocations: 21.55 kB / 446.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1952, allocations: 0 / 446.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.763e-05/0.1953, allocations: 76.61 kB / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.1953, allocations: 0 / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003487/0.1956, allocations: 179.7 kB / 446.8 MB, free: 41.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.1956, allocations: 51.41 kB / 446.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1958, allocations: 218.7 kB / 447.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.1958, allocations: 31.83 kB / 447.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.1958, allocations: 107.3 kB / 447.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.1958, allocations: 27.2 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1958, allocations: 22.75 kB / 447.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.705e-05/0.1959, allocations: 326.8 kB / 447.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.1959, allocations: 22.66 kB / 447.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.1959, allocations: 42.03 kB / 447.6 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.196, allocations: 62.84 kB / 447.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.196, allocations: 3.938 kB / 447.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.694e-05/0.1961, allocations: 105.2 kB / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1961, allocations: 7.5 kB / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1961, allocations: 0 / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1961, allocations: 0 / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.1962, allocations: 20.64 kB / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1962, allocations: 0 / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.1962, allocations: 6.938 kB / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1962, allocations: 2.688 kB / 447.8 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 4.82e-05/0.1963, allocations: 135 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.1963, allocations: 12.67 kB / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.1964, allocations: 122.2 kB / 448.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1964, allocations: 6.656 kB / 448.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1964, allocations: 0 / 448.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1964, allocations: 6.609 kB / 448.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.1966, allocations: 379.5 kB / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1966, allocations: 0 / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.1967, allocations: 15.34 kB / 448.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.1967, allocations: 3.375 kB / 448.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1967, allocations: 2.719 kB / 448.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1967, allocations: 0 / 448.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1967, allocations: 0 / 448.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1968, allocations: 218.8 kB / 448.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.1968, allocations: 6.734 kB / 448.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1968, allocations: 2.656 kB / 448.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.884e-05/0.1968, allocations: 9.828 kB / 448.7 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.1969, allocations: 13.94 kB / 448.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1969, allocations: 2.688 kB / 448.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.571e-05/0.1969, allocations: 162 kB / 448.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1969, allocations: 0 / 448.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000164/0.1971, allocations: 25.44 kB / 448.9 MB, free: 40.4 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.0008522/0.1979, allocations: 1.134 MB / 450.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1981, allocations: 62.75 kB / 450.1 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1981, allocations: 0 / 450.1 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.1981, allocations: 33 kB / 450.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1983, allocations: 25.67 kB / 450.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008937/0.1992, allocations: 1.712 MB / 451.9 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.773e-05/0.1992, allocations: 94.89 kB / 452 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.408e-05/0.1993, allocations: 18.42 kB / 452 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.1993, allocations: 40.22 kB / 452 MB, free: 38.09 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1993, allocations: 0 / 452 MB, free: 38.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.2146, allocations: 4.338 MB / 456.4 MB, free: 36.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.596/6.811, allocations: 3.094 kB / 456.4 MB, free: 36.66 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.781293457373977]