Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.001614/0.001614, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002096/0.002096, allocations: 209 kB / 24.48 MB, free: 3.938 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.543/1.543, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.09/1.09, allocations: 120.6 MB / 435.2 MB, free: 0.6406 MB / 334.1 MB " [Timeout remaining time 179] 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.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [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.002089/0.002089, allocations: 59.91 kB / 0.6079 GB, free: 10.28 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1855, allocations: 85.88 MB / 0.6918 GB, free: 4.191 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002842/0.1884, allocations: 1.427 MB / 0.6932 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1895, allocations: 0.5415 MB / 0.6937 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.1896, allocations: 3.938 kB / 0.6937 GB, free: 2.207 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.191, allocations: 1.723 MB / 0.6954 GB, free: 492 kB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.1926, allocations: 1.766 MB / 0.6971 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1929, allocations: 71.8 kB / 0.6972 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.003763/0.1966, allocations: 4.31 MB / 0.7014 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.1967, allocations: 7.938 kB / 0.7014 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/0.1998, allocations: 2.153 MB / 0.7035 GB, free: 8.16 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005194/0.205, allocations: 4.547 MB / 0.7079 GB, free: 3.605 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0006958/0.2057, allocations: 256 kB / 0.7082 GB, free: 3.355 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.2064, allocations: 319.9 kB / 0.7085 GB, free: 3.043 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.01258/0.2189, allocations: 10.35 MB / 0.7186 GB, free: 8.664 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.007673/0.2266, allocations: 4.048 MB / 0.7225 GB, free: 4.574 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.2432, allocations: 12.78 MB / 0.735 GB, free: 7.707 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2432, allocations: 3.938 kB / 0.735 GB, free: 7.703 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2432, allocations: 0 / 0.735 GB, free: 7.703 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0006557/0.2439, allocations: 0 / 0.735 GB, free: 7.703 MB / 0.5608 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03699/0.2808, allocations: 20.34 MB / 0.7549 GB, free: 3.148 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.2809, allocations: 8.031 kB / 0.7549 GB, free: 3.141 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00432/0.2852, allocations: 2.325 MB / 0.7572 GB, free: 0.8008 MB / 0.5764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8277/1.113, allocations: 26.12 MB / 0.7827 GB, free: 43.96 MB / 0.5767 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/1.113, allocations: 1.75 kB / 0.7827 GB, free: 43.96 MB / 0.5767 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/1.113, allocations: 69.11 kB / 0.7827 GB, free: 43.96 MB / 0.5767 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/1.114, allocations: 0.8092 MB / 0.7835 GB, free: 43.7 MB / 0.5767 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/1.114, allocations: 0.5625 kB / 0.7835 GB, free: 43.7 MB / 0.5767 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/1.115, allocations: 63.28 kB / 0.7836 GB, free: 43.7 MB / 0.5767 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.115, allocations: 0 / 0.7836 GB, free: 43.7 MB / 0.5767 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000965/1.116, allocations: 494.6 kB / 0.7841 GB, free: 43.65 MB / 0.5767 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02101/1.137, allocations: 6.813 MB / 0.7907 GB, free: 38.61 MB / 0.5767 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/1.138, allocations: 308.3 kB / 0.791 GB, free: 38.29 MB / 0.5767 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/1.138, allocations: 302.1 kB / 0.7913 GB, free: 37.98 MB / 0.5767 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/1.138, allocations: 4 kB / 0.7913 GB, free: 37.98 MB / 0.5767 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007157/1.139, allocations: 0.7356 MB / 0.792 GB, free: 37.22 MB / 0.5767 GB Notification: Performance of pre-optimization done (n=8): time 2.685e-06/1.139, allocations: 0 / 0.792 GB, free: 37.22 MB / 0.5767 GB Notification: Performance of matching and sorting (n=8): time 0.008104/1.147, allocations: 4.421 MB / 0.7963 GB, free: 32.76 MB / 0.5767 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/1.147, allocations: 77.11 kB / 0.7964 GB, free: 32.67 MB / 0.5767 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0449/1.192, allocations: 24.84 MB / 0.8207 GB, free: 8.035 MB / 0.5767 GB Notification: Performance of collectPreVariables (initialization): time 0.000697/1.193, allocations: 90.36 kB / 0.8208 GB, free: 7.941 MB / 0.5767 GB Notification: Performance of collectInitialEqns (initialization): time 0.01076/1.204, allocations: 10.83 MB / 0.8313 GB, free: 13.11 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008711/1.204, allocations: 83.77 kB / 0.8314 GB, free: 13.03 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/1.206, allocations: 457.7 kB / 0.8318 GB, free: 12.57 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 0.0001767/1.206, allocations: 317.3 kB / 0.8321 GB, free: 12.26 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007862/1.207, allocations: 305 kB / 0.8324 GB, free: 11.96 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/1.208, allocations: 293.7 kB / 0.8327 GB, free: 11.67 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.209, allocations: 0.5959 MB / 0.8333 GB, free: 11.06 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.209, allocations: 0 / 0.8333 GB, free: 11.06 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00878/1.217, allocations: 4.126 MB / 0.8373 GB, free: 6.898 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/1.218, allocations: 37.64 kB / 0.8374 GB, free: 6.855 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.218, allocations: 0 / 0.8374 GB, free: 6.855 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/1.218, allocations: 7.984 kB / 0.8374 GB, free: 6.848 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.752e-05/1.218, allocations: 4 kB / 0.8374 GB, free: 6.844 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.218, allocations: 9.359 kB / 0.8374 GB, free: 6.84 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005046/1.223, allocations: 71.95 kB / 0.8375 GB, free: 6.77 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000997/1.224, allocations: 0.8555 MB / 0.8383 GB, free: 5.914 MB / 0.5923 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.009574/1.233, allocations: 4.906 MB / 0.8431 GB, free: 0.9883 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00634/1.24, allocations: 2.386 MB / 0.8454 GB, free: 14.58 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007805/1.247, allocations: 2.562 MB / 0.8479 GB, free: 12.02 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/1.247, allocations: 3.375 kB / 0.8479 GB, free: 12.02 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.247, allocations: 3.938 kB / 0.8479 GB, free: 12.02 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.247, allocations: 0 / 0.8479 GB, free: 12.02 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02296/1.27, allocations: 7.422 MB / 0.8552 GB, free: 4.57 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.27, allocations: 4.484 kB / 0.8552 GB, free: 4.566 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/1.271, allocations: 4 kB / 0.8552 GB, free: 4.562 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.271, allocations: 0 / 0.8552 GB, free: 4.562 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/1.272, allocations: 191.9 kB / 0.8554 GB, free: 4.379 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.272, allocations: 0 / 0.8554 GB, free: 4.379 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.272, allocations: 0 / 0.8554 GB, free: 4.379 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.283, allocations: 4.329 MB / 0.8596 GB, free: 8 kB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008834/1.292, allocations: 2.03 MB / 0.8616 GB, free: 13.96 MB / 0.6235 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00457/1.297, allocations: 68 kB / 0.8616 GB, free: 13.89 MB / 0.6235 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00471/1.302, allocations: 71.72 kB / 0.8617 GB, free: 13.83 MB / 0.6235 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/1.302, allocations: 4 kB / 0.8617 GB, free: 13.83 MB / 0.6235 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001743/1.303, allocations: 0.8591 MB / 0.8625 GB, free: 12.97 MB / 0.6235 GB Notification: Performance of sorting global known variables: time 0.03682/1.34, allocations: 17.24 MB / 0.8794 GB, free: 11.88 MB / 0.6392 GB Notification: Performance of sort global known variables: time 1.6e-07/1.34, allocations: 0 / 0.8794 GB, free: 11.88 MB / 0.6392 GB Notification: Performance of remove unused functions: time 0.006051/1.346, allocations: 0.6406 MB / 0.88 GB, free: 11.25 MB / 0.6392 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0009591/1.347, allocations: 181.2 kB / 0.8802 GB, free: 11.06 MB / 0.6392 GB Notification: Performance of simCode: created initialization part: time 0.002872/1.35, allocations: 0.7214 MB / 0.8809 GB, free: 10.32 MB / 0.6392 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.35, allocations: 0 / 0.8809 GB, free: 10.32 MB / 0.6392 GB Notification: Performance of simCode: created simulation system equations: time 0.0009286/1.351, allocations: 429.1 kB / 0.8813 GB, free: 9.879 MB / 0.6392 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01944/1.37, allocations: 1.695 MB / 0.883 GB, free: 8.184 MB / 0.6392 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07418/1.445, allocations: 36.13 MB / 0.9182 GB, free: 4.199 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01799/1.463, allocations: 8.641 MB / 0.9267 GB, free: 11.52 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002335/1.465, allocations: 0.9946 MB / 0.9276 GB, free: 10.52 MB / 0.686 GB Notification: Performance of SimCode: time 1.903e-06/1.465, allocations: 0 / 0.9276 GB, free: 10.52 MB / 0.686 GB Notification: Performance of Templates: time 4.99/6.455, allocations: 1.627 GB / 2.555 GB, free: 118.8 MB / 0.8735 GB " [Timeout remaining time 294] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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: 21.904324914794415]