Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.0008298/0.0008298, 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.001129/0.001129, 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.9088/0.9088, allocations: 177 MB / 204.1 MB, free: 5.746 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.2507/0.2507, allocations: 34.23 MB / 294.8 MB, free: 0.6836 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.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.146e-05, allocations: 6.219 kB / 442.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.192/0.192, allocations: 1.704 MB / 444 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.193, allocations: 0.9714 MB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.1931, allocations: 4.594 kB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.1934, allocations: 50.64 kB / 445 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.1936, allocations: 99.33 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.1938, allocations: 76.08 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1939, allocations: 112 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.194, allocations: 10.83 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.988e-05/0.1941, allocations: 57.3 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.1941, allocations: 23.36 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1941, allocations: 6.594 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.013e-05/0.1942, allocations: 46.95 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.1943, allocations: 27.47 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.1943, allocations: 19.86 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1945, allocations: 133.1 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1945, allocations: 0 / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1945, allocations: 0 / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1945, allocations: 0.5625 kB / 445.6 MB, free: 42.84 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.000413/0.1949, allocations: 355.5 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.195, allocations: 12.02 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.604e-05/0.195, allocations: 37.53 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.195, allocations: 14.53 kB / 446 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1953, allocations: 168 kB / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1953, allocations: 384 / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1953, allocations: 6.656 kB / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1954, allocations: 54.47 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1954, allocations: 192 / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1954, allocations: 9.328 kB / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1954, allocations: 0 / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.704e-05/0.1955, allocations: 20.03 kB / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.1957, allocations: 257.9 kB / 446.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1958, allocations: 60.11 kB / 446.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.1958, allocations: 27.61 kB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.1958, allocations: 0 / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.1959, allocations: 71.83 kB / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.1959, allocations: 0 / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003706/0.1963, allocations: 184.5 kB / 446.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.1963, allocations: 51.41 kB / 446.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1965, allocations: 244 kB / 447.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.1965, allocations: 25.7 kB / 447.1 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.1965, allocations: 112.4 kB / 447.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.1965, allocations: 36.75 kB / 447.3 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.1965, allocations: 20.16 kB / 447.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.805e-05/0.1966, allocations: 330 kB / 447.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.1966, allocations: 28.55 kB / 447.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.1966, allocations: 34.81 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.109e-05/0.1967, allocations: 60.41 kB / 447.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1967, allocations: 4 kB / 447.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.94e-05/0.1968, allocations: 108.6 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1968, allocations: 5.375 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1968, allocations: 0 / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1968, allocations: 0 / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.1969, allocations: 24.45 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.1969, allocations: 0 / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.1969, allocations: 2.562 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1969, allocations: 2.594 kB / 447.9 MB, free: 41.2 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.501e-05/0.197, allocations: 142 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.197, allocations: 12.05 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.1972, allocations: 132.8 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1972, allocations: 0 / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1972, allocations: 3.031 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1972, allocations: 0 / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1974, allocations: 376.5 kB / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1974, allocations: 0 / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.1974, allocations: 11.81 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1974, allocations: 2.969 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1974, allocations: 4.031 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1974, allocations: 2.938 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1974, allocations: 0 / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.1975, allocations: 217.7 kB / 448.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.1976, allocations: 13.62 kB / 448.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1976, allocations: 9.297 kB / 448.8 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.1976, allocations: 2.906 kB / 448.8 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.1976, allocations: 11.2 kB / 448.8 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.1977, allocations: 6.969 kB / 448.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.64e-05/0.1977, allocations: 179.4 kB / 449 MB, free: 40.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1977, allocations: 4 kB / 449 MB, free: 40.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.1979, allocations: 27.38 kB / 449 MB, free: 40.39 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.0009186/0.1988, allocations: 1.129 MB / 450.2 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.1989, allocations: 56.55 kB / 450.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1989, allocations: 2.812 kB / 450.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.199, allocations: 31.83 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.0002294/0.1992, allocations: 42.52 kB / 450.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000987/0.2002, allocations: 1.765 MB / 452.1 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.189e-05/0.2002, allocations: 104.7 kB / 452.2 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.701e-05/0.2003, allocations: 19.33 kB / 452.2 MB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.2003, allocations: 39.98 kB / 452.2 MB, free: 38.06 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2003, allocations: 0 / 452.2 MB, free: 38.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.2174, allocations: 4.439 MB / 456.7 MB, free: 36.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/6.857, allocations: 3.094 kB / 456.7 MB, free: 36.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.85217459127307]