Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.001658/0.001658, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001849/0.001849, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.585/1.585, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.317/1.317, allocations: 120.6 MB / 435.2 MB, free: 0.6562 MB / 334.1 MB " [Timeout remaining time 178] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 67.89 kB / 0.6079 GB, free: 10.29 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2125, allocations: 85.88 MB / 0.6917 GB, free: 4.211 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003518/0.2161, allocations: 1.564 MB / 0.6933 GB, free: 2.637 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.2181, allocations: 0.9822 MB / 0.6942 GB, free: 1.648 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2182, allocations: 0 / 0.6942 GB, free: 1.648 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.2186, allocations: 67.67 kB / 0.6943 GB, free: 1.582 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0005946/0.2192, allocations: 151.5 kB / 0.6944 GB, free: 1.434 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2194, allocations: 75.72 kB / 0.6945 GB, free: 1.359 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.2197, allocations: 135.6 kB / 0.6946 GB, free: 1.227 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.2198, allocations: 4 kB / 0.6946 GB, free: 1.223 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.22, allocations: 79.69 kB / 0.6947 GB, free: 1.145 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.2202, allocations: 71.73 kB / 0.6948 GB, free: 1.074 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2202, allocations: 7.938 kB / 0.6948 GB, free: 1.066 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.2203, allocations: 28 kB / 0.6948 GB, free: 1.039 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.2205, allocations: 75.78 kB / 0.6949 GB, free: 0.9648 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.2205, allocations: 39.62 kB / 0.6949 GB, free: 0.9258 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.2208, allocations: 171.1 kB / 0.6951 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2208, allocations: 0 / 0.6951 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2208, allocations: 0 / 0.6951 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.2208, allocations: 0 / 0.6951 GB, free: 0.7578 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007599/0.2216, allocations: 428.8 kB / 0.6955 GB, free: 316 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.2217, allocations: 19.95 kB / 0.6955 GB, free: 296 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.2217, allocations: 20.8 kB / 0.6955 GB, free: 276 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/0.2223, allocations: 281.1 kB / 0.6958 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2223, allocations: 4.375 kB / 0.6958 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2224, allocations: 4.125 kB / 0.6958 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.2225, allocations: 53.67 kB / 0.6959 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2225, allocations: 0 / 0.6959 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2225, allocations: 3.984 kB / 0.6959 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2225, allocations: 0 / 0.6959 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.275e-05/0.2226, allocations: 23.92 kB / 0.6959 GB, free: 15.87 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.2229, allocations: 157.3 kB / 0.696 GB, free: 15.69 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.223, allocations: 54.61 kB / 0.6961 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.2231, allocations: 20.84 kB / 0.6961 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2231, allocations: 4 kB / 0.6961 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.2233, allocations: 71.33 kB / 0.6962 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.2233, allocations: 3.938 kB / 0.6962 GB, free: 15.51 MB / 0.5295 GB Notification: Performance of matching and sorting (n=5): time 0.0003218/0.2236, allocations: 109.5 kB / 0.6963 GB, free: 15.4 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2237, allocations: 51.41 kB / 0.6963 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.224, allocations: 296.2 kB / 0.6966 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.224, allocations: 25.7 kB / 0.6967 GB, free: 15 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.2241, allocations: 140.1 kB / 0.6968 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.2241, allocations: 11.84 kB / 0.6968 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.2242, allocations: 25.7 kB / 0.6968 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2243, allocations: 338.8 kB / 0.6971 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.2244, allocations: 15.98 kB / 0.6972 GB, free: 14.46 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.2244, allocations: 25.7 kB / 0.6972 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.2245, allocations: 49.64 kB / 0.6972 GB, free: 14.38 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2245, allocations: 0 / 0.6972 GB, free: 14.38 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001832/0.2247, allocations: 97.42 kB / 0.6973 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2247, allocations: 8 kB / 0.6973 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2248, allocations: 0 / 0.6973 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2248, allocations: 4.031 kB / 0.6973 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.013e-05/0.2248, allocations: 11.98 kB / 0.6974 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2249, allocations: 4 kB / 0.6974 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.2249, allocations: 4 kB / 0.6974 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.2249, allocations: 7.938 kB / 0.6974 GB, free: 14.24 MB / 0.5295 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001408/0.2251, allocations: 141.8 kB / 0.6975 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.2251, allocations: 27.8 kB / 0.6975 GB, free: 14.06 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.2253, allocations: 107 kB / 0.6976 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2253, allocations: 0 / 0.6976 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2253, allocations: 4.375 kB / 0.6976 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2253, allocations: 4 kB / 0.6976 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.2255, allocations: 173.1 kB / 0.6978 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2255, allocations: 4 kB / 0.6978 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.2255, allocations: 4 kB / 0.6978 GB, free: 13.74 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2256, allocations: 3.938 kB / 0.6978 GB, free: 13.74 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2256, allocations: 3.984 kB / 0.6978 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2256, allocations: 4 kB / 0.6978 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2256, allocations: 0 / 0.6978 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.2258, allocations: 128.9 kB / 0.6979 GB, free: 13.59 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.2258, allocations: 23.8 kB / 0.698 GB, free: 13.56 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.2259, allocations: 11.98 kB / 0.698 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.2259, allocations: 0 / 0.698 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.226, allocations: 4 kB / 0.698 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.226, allocations: 3.984 kB / 0.698 GB, free: 13.54 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.000227/0.2262, allocations: 215.1 kB / 0.6982 GB, free: 13.33 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.2262, allocations: 0 / 0.6982 GB, free: 13.33 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002254/0.2264, allocations: 23.94 kB / 0.6982 GB, free: 13.31 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001616/0.228, allocations: 431 kB / 0.6986 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.2282, allocations: 55.91 kB / 0.6987 GB, free: 13.01 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2282, allocations: 0 / 0.6987 GB, free: 13.01 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.2283, allocations: 27.97 kB / 0.6987 GB, free: 12.98 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2286, allocations: 32.95 kB / 0.6987 GB, free: 12.95 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.2293, allocations: 365.5 kB / 0.6991 GB, free: 12.56 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.2294, allocations: 132 kB / 0.6992 GB, free: 12.41 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.2295, allocations: 23.44 kB / 0.6992 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of SimCode: time 4.41e-07/0.2295, allocations: 0 / 0.6992 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of Templates: time 0.005881/0.2354, allocations: 2.696 MB / 0.7019 GB, free: 9.695 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.658000485040247]