Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.0008061/0.0008061, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008041/0.0008041, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9291/0.9291, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2606/0.2606, allocations: 32.79 MB / 293.5 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.151e-05, allocations: 4.391 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002327/0.002348, allocations: 1.786 MB / 441.4 MB, free: 2.363 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003792, allocations: 1.047 MB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.003893, allocations: 7.938 kB / 442.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.004336, allocations: 319 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.004804, allocations: 259 kB / 443.1 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.005058, allocations: 111.6 kB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.005345, allocations: 267.2 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.005398, allocations: 5.812 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.005558, allocations: 155.6 kB / 443.6 MB, free: 216 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.005741, allocations: 203.6 kB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.005761, allocations: 8 kB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1853/0.191, allocations: 52.77 kB / 443.8 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.1912, allocations: 140.3 kB / 444 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.1913, allocations: 74.78 kB / 444.1 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.1917, allocations: 356 kB / 444.4 MB, free: 43.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1917, allocations: 0 / 444.4 MB, free: 43.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1917, allocations: 0 / 444.4 MB, free: 43.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1917, allocations: 3.844 kB / 444.4 MB, free: 43.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006833/0.1924, allocations: 0.6836 MB / 445.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1924, allocations: 8.062 kB / 445.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.746e-05/0.1924, allocations: 33.38 kB / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.1925, allocations: 61.98 kB / 445.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.1929, allocations: 388.2 kB / 445.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1929, allocations: 384 / 445.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1929, allocations: 4.391 kB / 445.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1931, allocations: 88.42 kB / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1931, allocations: 0 / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1931, allocations: 6.125 kB / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1931, allocations: 0 / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.1932, allocations: 42.11 kB / 445.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.1934, allocations: 329.4 kB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1937, allocations: 104.5 kB / 446.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.1937, allocations: 44.92 kB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1937, allocations: 3.938 kB / 446.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.194, allocations: 116.3 kB / 446.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.194, allocations: 0 / 446.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004184/0.1944, allocations: 218.5 kB / 446.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1944, allocations: 77.11 kB / 446.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006844/0.1951, allocations: 1.066 MB / 447.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.1951, allocations: 25.7 kB / 447.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1952, allocations: 239.1 kB / 447.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.1953, allocations: 36.28 kB / 447.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1953, allocations: 27.5 kB / 448 MB, free: 42.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.1954, allocations: 370.7 kB / 448.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.1954, allocations: 31.69 kB / 448.4 MB, free: 41.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.1955, allocations: 58.88 kB / 448.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1956, allocations: 92.36 kB / 448.5 MB, free: 41.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1956, allocations: 3.656 kB / 448.5 MB, free: 41.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001699/0.1958, allocations: 178.1 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1958, allocations: 9.625 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1958, allocations: 0 / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1958, allocations: 2.875 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.1959, allocations: 20.16 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1959, allocations: 2.812 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.196, allocations: 10.64 kB / 448.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.196, allocations: 10.47 kB / 448.7 MB, free: 41.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001414/0.1962, allocations: 227.6 kB / 449 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1962, allocations: 54.19 kB / 449 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.1965, allocations: 208.7 kB / 449.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1965, allocations: 2.875 kB / 449.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1965, allocations: 0 / 449.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1965, allocations: 0 / 449.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.1967, allocations: 302.9 kB / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1967, allocations: 2.875 kB / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.1967, allocations: 11.97 kB / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1967, allocations: 0 / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1967, allocations: 7.531 kB / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1967, allocations: 5.078 kB / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1967, allocations: 4.125 kB / 449.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.1969, allocations: 225.7 kB / 449.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.197, allocations: 63.41 kB / 449.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.197, allocations: 14.19 kB / 449.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.397e-05/0.197, allocations: 6.938 kB / 449.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1971, allocations: 5.891 kB / 449.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1971, allocations: 8.797 kB / 449.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004255/0.1975, allocations: 0.7878 MB / 450.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1975, allocations: 0 / 450.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.1977, allocations: 50.8 kB / 450.7 MB, free: 41.01 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001036/0.1987, allocations: 1.092 MB / 451.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.1989, allocations: 89.94 kB / 451.9 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1989, allocations: 3.938 kB / 451.9 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.101e-05/0.199, allocations: 51.53 kB / 451.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1993, allocations: 70.11 kB / 452 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.2026, allocations: 4.627 MB / 456.6 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2028, allocations: 244.6 kB / 456.9 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.881e-05/0.2029, allocations: 67.19 kB / 456.9 MB, free: 38.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.203, allocations: 152.5 kB / 457.1 MB, free: 37.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.572e-06/0.203, allocations: 0 / 457.1 MB, free: 37.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.2227, allocations: 10.14 MB / 467.2 MB, free: 35.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/7.022, allocations: 3.938 kB / 467.2 MB, free: 35.92 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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: 9.116220845840871]