Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0008088/0.0008088, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003581/0.003581, allocations: 160 kB / 24.7 MB, free: 8.895 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.8794/0.8794, allocations: 177.1 MB / 205 MB, free: 5.727 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.257/0.257, allocations: 32.8 MB / 294.2 MB, free: 1.195 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.293e-05, allocations: 6.281 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002901/0.002924, allocations: 1.792 MB / 442.7 MB, free: 1.852 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.004619, allocations: 1.052 MB / 443.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.804e-05/0.004717, allocations: 0 / 443.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.005236, allocations: 307.1 kB / 444.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.005744, allocations: 274.9 kB / 444.3 MB, free: 228 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.006013, allocations: 99.62 kB / 444.4 MB, free: 128 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1859/0.1919, allocations: 270.4 kB / 444.7 MB, free: 44.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.192, allocations: 10.16 kB / 444.7 MB, free: 44.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.1923, allocations: 151.7 kB / 444.9 MB, free: 44.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1925, allocations: 207.2 kB / 445.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.1925, allocations: 5.812 kB / 445.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1926, allocations: 53.5 kB / 445.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.1928, allocations: 141.4 kB / 445.3 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.1928, allocations: 77.92 kB / 445.3 MB, free: 44.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.1931, allocations: 352.7 kB / 445.7 MB, free: 44.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1931, allocations: 0 / 445.7 MB, free: 44.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1931, allocations: 0 / 445.7 MB, free: 44.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1932, allocations: 2.625 kB / 445.7 MB, free: 44.06 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.0005971/0.1938, allocations: 0.6779 MB / 446.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1938, allocations: 14.34 kB / 446.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.1938, allocations: 59.61 kB / 446.4 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.1942, allocations: 387.8 kB / 446.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1942, allocations: 384 / 446.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1943, allocations: 10.03 kB / 446.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1944, allocations: 85.56 kB / 446.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1944, allocations: 3.625 kB / 446.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1944, allocations: 11.69 kB / 446.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1944, allocations: 0 / 446.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.742e-05/0.1945, allocations: 36.17 kB / 446.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.1947, allocations: 306.2 kB / 447.2 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1949, allocations: 105 kB / 447.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.1949, allocations: 43.59 kB / 447.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.195, allocations: 2.844 kB / 447.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.1951, allocations: 109.5 kB / 447.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1951, allocations: 0.8906 kB / 447.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003127/0.1954, allocations: 217.3 kB / 447.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1955, allocations: 83.67 kB / 447.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006333/0.1961, allocations: 1.061 MB / 448.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1961, allocations: 28.77 kB / 448.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1962, allocations: 235.2 kB / 449.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.1962, allocations: 32.3 kB / 449.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.1963, allocations: 29.14 kB / 449.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.128e-05/0.1963, allocations: 369.2 kB / 449.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.1964, allocations: 33.28 kB / 449.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.478e-05/0.1965, allocations: 63.44 kB / 449.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1966, allocations: 93.91 kB / 449.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1966, allocations: 0 / 449.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001631/0.1967, allocations: 171.8 kB / 449.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1967, allocations: 5.406 kB / 449.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1967, allocations: 0.5312 kB / 449.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1968, allocations: 7.281 kB / 449.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.1968, allocations: 28.61 kB / 449.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1969, allocations: 2.844 kB / 449.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.1969, allocations: 10.06 kB / 449.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1969, allocations: 6.75 kB / 449.9 MB, free: 42.16 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.0001529/0.1971, allocations: 228.3 kB / 450.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.1971, allocations: 53.92 kB / 450.2 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.1973, allocations: 212.3 kB / 450.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1973, allocations: 6.781 kB / 450.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1974, allocations: 3.938 kB / 450.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1974, allocations: 0 / 450.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1975, allocations: 275.8 kB / 450.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1975, allocations: 3.562 kB / 450.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.1976, allocations: 8.469 kB / 450.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1976, allocations: 3 kB / 450.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1976, allocations: 4.062 kB / 450.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1976, allocations: 2.906 kB / 450.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1976, allocations: 7.938 kB / 450.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.1978, allocations: 222.9 kB / 451 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.1978, allocations: 63.41 kB / 451 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1978, allocations: 2.844 kB / 451 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.1979, allocations: 6.906 kB / 451 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.1979, allocations: 16.28 kB / 451 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1979, allocations: 5.781 kB / 451.1 MB, free: 41.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004468/0.1984, allocations: 0.7867 MB / 451.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1984, allocations: 3.344 kB / 451.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.1986, allocations: 56.31 kB / 451.9 MB, free: 41.27 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.0007802/0.1994, allocations: 440.5 kB / 452.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1995, allocations: 87.5 kB / 452.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1995, allocations: 0 / 452.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.677e-05/0.1996, allocations: 46.55 kB / 452.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.1999, allocations: 74.16 kB / 452.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008237/0.2007, allocations: 0.93 MB / 453.5 MB, free: 40.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.2008, allocations: 246.9 kB / 453.7 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.2009, allocations: 34.91 kB / 453.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2009, allocations: 0 / 453.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of Templates: time 0.005031/0.2059, allocations: 5.37 MB / 459.1 MB, free: 39.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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: 5.200821205042303]