Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001475/0.001475, allocations: 96.42 kB / 21.18 MB, free: 0.5312 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.001651/0.001651, allocations: 212.3 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.824 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.052/1.052, allocations: 120.6 MB / 435.2 MB, free: 0.668 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_noopt_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_noopt_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.002067/0.002067, allocations: 67.89 kB / 0.6079 GB, free: 10.29 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1879, allocations: 85.86 MB / 0.6917 GB, free: 4.215 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002955/0.1909, allocations: 1.435 MB / 0.6931 GB, free: 2.773 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1921, allocations: 0.5455 MB / 0.6937 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.1921, allocations: 7.938 kB / 0.6937 GB, free: 2.215 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.1937, allocations: 1.719 MB / 0.6954 GB, free: 0.4922 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.1953, allocations: 1.77 MB / 0.6971 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.1957, allocations: 75.7 kB / 0.6972 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.00395/0.1996, allocations: 4.31 MB / 0.7014 GB, free: 10.33 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.1997, allocations: 3.938 kB / 0.7014 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.2029, allocations: 2.149 MB / 0.7035 GB, free: 8.172 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005564/0.2085, allocations: 4.547 MB / 0.7079 GB, free: 3.617 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0006554/0.2091, allocations: 256 kB / 0.7082 GB, free: 3.367 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006944/0.2098, allocations: 315.9 kB / 0.7085 GB, free: 3.059 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.01347/0.2233, allocations: 10.36 MB / 0.7186 GB, free: 8.672 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.007321/0.2306, allocations: 4.048 MB / 0.7225 GB, free: 4.582 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.2464, allocations: 12.78 MB / 0.735 GB, free: 7.715 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2465, allocations: 0 / 0.735 GB, free: 7.715 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.574e-06/0.2465, allocations: 0 / 0.735 GB, free: 7.715 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0005245/0.247, allocations: 0 / 0.735 GB, free: 7.715 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.031/0.278, allocations: 20.34 MB / 0.7549 GB, free: 3.164 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.278, allocations: 8.031 kB / 0.7549 GB, free: 3.156 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.2817, allocations: 2.325 MB / 0.7572 GB, free: 0.8164 MB / 0.5764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6857/0.9674, allocations: 26.12 MB / 0.7827 GB, free: 46.78 MB / 0.5767 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.9675, allocations: 1.75 kB / 0.7827 GB, free: 46.78 MB / 0.5767 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.9677, allocations: 68.5 kB / 0.7827 GB, free: 46.78 MB / 0.5767 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.9687, allocations: 0.8119 MB / 0.7835 GB, free: 46.52 MB / 0.5767 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.9687, allocations: 1.969 kB / 0.7835 GB, free: 46.52 MB / 0.5767 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.9688, allocations: 64.78 kB / 0.7836 GB, free: 46.52 MB / 0.5767 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.9688, allocations: 0 / 0.7836 GB, free: 46.52 MB / 0.5767 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.9695, allocations: 493.7 kB / 0.7841 GB, free: 46.47 MB / 0.5767 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.9813, allocations: 6.804 MB / 0.7907 GB, free: 42.18 MB / 0.5767 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.9823, allocations: 313 kB / 0.791 GB, free: 41.86 MB / 0.5767 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.9827, allocations: 302.6 kB / 0.7913 GB, free: 41.55 MB / 0.5767 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.9827, allocations: 3.125 kB / 0.7913 GB, free: 41.55 MB / 0.5767 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006597/0.9834, allocations: 0.7444 MB / 0.792 GB, free: 40.79 MB / 0.5767 GB Notification: Performance of pre-optimization done (n=8): time 2.765e-06/0.9834, allocations: 0 / 0.792 GB, free: 40.79 MB / 0.5767 GB Notification: Performance of matching and sorting (n=8): time 0.006184/0.9895, allocations: 4.416 MB / 0.7963 GB, free: 36.33 MB / 0.5767 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.9896, allocations: 77.11 kB / 0.7964 GB, free: 36.23 MB / 0.5767 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03303/1.023, allocations: 24.84 MB / 0.8207 GB, free: 11.6 MB / 0.5767 GB Notification: Performance of collectPreVariables (initialization): time 0.0006761/1.023, allocations: 89.7 kB / 0.8208 GB, free: 11.5 MB / 0.5767 GB Notification: Performance of collectInitialEqns (initialization): time 0.009572/1.033, allocations: 10.83 MB / 0.8313 GB, free: 0.6758 MB / 0.5767 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008061/1.034, allocations: 91.14 kB / 0.8314 GB, free: 0.5898 MB / 0.5767 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/1.035, allocations: 457.7 kB / 0.8319 GB, free: 140 kB / 0.5767 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.036, allocations: 310 kB / 0.8321 GB, free: 15.83 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.037, allocations: 297.7 kB / 0.8324 GB, free: 15.53 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000857/1.037, allocations: 312.5 kB / 0.8327 GB, free: 15.23 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/1.039, allocations: 0.5901 MB / 0.8333 GB, free: 14.62 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.039, allocations: 0 / 0.8333 GB, free: 14.62 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.008058/1.047, allocations: 4.127 MB / 0.8373 GB, free: 10.46 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/1.047, allocations: 33.7 kB / 0.8374 GB, free: 10.43 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.047, allocations: 4.562 kB / 0.8374 GB, free: 10.42 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/1.047, allocations: 4 kB / 0.8374 GB, free: 10.42 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/1.047, allocations: 8.578 kB / 0.8374 GB, free: 10.41 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.047, allocations: 4.5 kB / 0.8374 GB, free: 10.41 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004699/1.052, allocations: 67.95 kB / 0.8375 GB, free: 10.34 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/1.053, allocations: 0.8631 MB / 0.8383 GB, free: 9.48 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.009106/1.062, allocations: 4.905 MB / 0.8431 GB, free: 4.555 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005608/1.068, allocations: 2.386 MB / 0.8454 GB, free: 2.152 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007344/1.075, allocations: 2.561 MB / 0.8479 GB, free: 15.59 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.075, allocations: 0 / 0.8479 GB, free: 15.59 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.075, allocations: 7.922 kB / 0.8479 GB, free: 15.58 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.075, allocations: 1.203 kB / 0.8479 GB, free: 15.58 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/1.097, allocations: 7.412 MB / 0.8552 GB, free: 8.137 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.097, allocations: 0 / 0.8552 GB, free: 8.137 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/1.097, allocations: 12.17 kB / 0.8552 GB, free: 8.129 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.097, allocations: 0 / 0.8552 GB, free: 8.129 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009059/1.098, allocations: 192.7 kB / 0.8554 GB, free: 7.941 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.098, allocations: 0 / 0.8554 GB, free: 7.941 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.098, allocations: 2.938 kB / 0.8554 GB, free: 7.941 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.109, allocations: 4.326 MB / 0.8596 GB, free: 3.574 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007098/1.116, allocations: 2.031 MB / 0.8616 GB, free: 1.527 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002671/1.119, allocations: 67.98 kB / 0.8616 GB, free: 1.461 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.121, allocations: 64 kB / 0.8617 GB, free: 1.398 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/1.121, allocations: 8.094 kB / 0.8617 GB, free: 1.391 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008848/1.122, allocations: 0.8669 MB / 0.8625 GB, free: 0.5273 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.03601/1.158, allocations: 17.24 MB / 0.8794 GB, free: 15.43 MB / 0.6392 GB Notification: Performance of sort global known variables: time 1.4e-07/1.158, allocations: 0 / 0.8794 GB, free: 15.43 MB / 0.6392 GB Notification: Performance of remove unused functions: time 0.005113/1.163, allocations: 0.6367 MB / 0.88 GB, free: 14.8 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.0009055/1.164, allocations: 183.8 kB / 0.8802 GB, free: 14.61 MB / 0.6392 GB Notification: Performance of simCode: created initialization part: time 0.002884/1.167, allocations: 0.7253 MB / 0.8809 GB, free: 13.86 MB / 0.6392 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.167, allocations: 0 / 0.8809 GB, free: 13.86 MB / 0.6392 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.168, allocations: 430.7 kB / 0.8813 GB, free: 13.43 MB / 0.6392 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007669/1.175, allocations: 1.697 MB / 0.883 GB, free: 11.73 MB / 0.6392 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06089/1.236, allocations: 36.13 MB / 0.9182 GB, free: 7.746 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01314/1.249, allocations: 8.637 MB / 0.9267 GB, free: 15.07 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/1.251, allocations: 0.9877 MB / 0.9276 GB, free: 14.08 MB / 0.686 GB Notification: Performance of SimCode: time 2.144e-06/1.251, allocations: 0 / 0.9276 GB, free: 14.08 MB / 0.686 GB Notification: Performance of Templates: time 4.875/6.127, allocations: 1.627 GB / 2.555 GB, free: 95.46 MB / 0.8579 GB " [Timeout remaining time 294] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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: 20.907918062992394]