Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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.001001/0.001001, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001135/0.001135, allocations: 168.9 kB / 24.91 MB, free: 8.723 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.8777/0.8777, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7008/0.7008, allocations: 88.08 MB / 349.9 MB, free: 11.79 MB / 330.8 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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 398.8 MB, free: 13.34 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.295e-05, allocations: 3.516 kB / 398.8 MB, free: 13.34 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001838/0.001861, allocations: 1.46 MB / 400.3 MB, free: 11.87 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.002664, allocations: 0.5762 MB / 400.8 MB, free: 11.29 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.002714, allocations: 0 / 400.8 MB, free: 11.29 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.004467, allocations: 3.43 MB / 404.3 MB, free: 7.852 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.006108, allocations: 3.485 MB / 407.8 MB, free: 4.359 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.006375, allocations: 79.73 kB / 407.8 MB, free: 4.281 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.004982/0.01136, allocations: 8.547 MB / 416.4 MB, free: 11.72 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.0114, allocations: 7.984 kB / 416.4 MB, free: 11.71 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0258/0.0372, allocations: 29.4 MB / 445.8 MB, free: 14.27 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/0.04028, allocations: 4.296 MB / 450.1 MB, free: 9.969 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.04066, allocations: 4 kB / 450.1 MB, free: 9.965 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005033/0.04117, allocations: 67.94 kB / 450.2 MB, free: 9.898 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01164/0.05281, allocations: 17.34 MB / 467.5 MB, free: 8.512 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003987/0.05679, allocations: 3.768 MB / 471.3 MB, free: 4.715 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.06987, allocations: 20.29 MB / 491.6 MB, free: 316 kB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.06987, allocations: 0 / 491.6 MB, free: 316 kB / 458.8 MB Notification: Performance of FrontEnd: time 1.373e-06/0.06987, allocations: 0 / 491.6 MB, free: 316 kB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001066/0.07094, allocations: 0 / 491.6 MB, free: 316 kB / 458.8 MB 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.3124/0.3833, allocations: 38.65 MB / 0.5178 GB, free: 100.5 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3834, allocations: 10.91 kB / 0.5178 GB, free: 100.5 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/0.3863, allocations: 2.205 MB / 0.52 GB, free: 100.4 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03061/0.4169, allocations: 30.73 MB / 0.55 GB, free: 70.25 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4169, allocations: 5.141 kB / 0.55 GB, free: 70.25 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.4172, allocations: 384 / 0.55 GB, free: 70.25 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.4183, allocations: 1.235 MB / 0.5512 GB, free: 69 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.4183, allocations: 0.9062 kB / 0.5512 GB, free: 69 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.4185, allocations: 4.625 kB / 0.5512 GB, free: 69 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4185, allocations: 1.75 kB / 0.5512 GB, free: 69 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.4192, allocations: 0.6548 MB / 0.5518 GB, free: 68.34 MB / 490.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/0.422, allocations: 61.86 kB / 0.5519 GB, free: 68.26 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.4225, allocations: 375.5 kB / 0.5522 GB, free: 67.88 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.423, allocations: 363.9 kB / 0.5526 GB, free: 67.52 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.423, allocations: 0 / 0.5526 GB, free: 67.52 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007555/0.4238, allocations: 1.277 MB / 0.5538 GB, free: 66.21 MB / 490.9 MB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.4238, allocations: 0 / 0.5538 GB, free: 66.21 MB / 490.9 MB Notification: Performance of matching and sorting (n=8): time 0.004904/0.4287, allocations: 3.277 MB / 0.557 GB, free: 62.91 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.4287, allocations: 88.59 kB / 0.5571 GB, free: 62.81 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03194/0.4606, allocations: 34.34 MB / 0.5907 GB, free: 28.86 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00044/0.4611, allocations: 25.7 kB / 0.5907 GB, free: 28.83 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.00766/0.4687, allocations: 6.841 MB / 0.5974 GB, free: 21.97 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/0.4692, allocations: 19.86 kB / 0.5974 GB, free: 21.95 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007212/0.47, allocations: 0.6404 MB / 0.598 GB, free: 21.3 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 3.317e-05/0.47, allocations: 306 kB / 0.5983 GB, free: 21 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.4705, allocations: 359.3 kB / 0.5986 GB, free: 20.64 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.4709, allocations: 349 kB / 0.599 GB, free: 20.3 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008684/0.4718, allocations: 0.7057 MB / 0.5997 GB, free: 19.57 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4718, allocations: 4 kB / 0.5997 GB, free: 19.57 MB / 490.9 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004686/0.4765, allocations: 2.926 MB / 0.6025 GB, free: 16.62 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.4765, allocations: 37.69 kB / 0.6026 GB, free: 16.58 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4765, allocations: 3.469 kB / 0.6026 GB, free: 16.58 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4765, allocations: 0 / 0.6026 GB, free: 16.58 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.4766, allocations: 4 kB / 0.6026 GB, free: 16.58 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.4766, allocations: 0 / 0.6026 GB, free: 16.58 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/0.4802, allocations: 7.984 kB / 0.6026 GB, free: 16.57 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/0.4817, allocations: 2.628 MB / 0.6051 GB, free: 13.94 MB / 490.9 MB 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.004808/0.4865, allocations: 161.7 kB / 0.6053 GB, free: 13.77 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003743/0.4902, allocations: 2.204 MB / 0.6074 GB, free: 11.57 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/0.4958, allocations: 3.653 MB / 0.611 GB, free: 7.906 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4958, allocations: 4 kB / 0.611 GB, free: 7.902 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.4958, allocations: 0 / 0.611 GB, free: 7.902 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4958, allocations: 0 / 0.611 GB, free: 7.902 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.5081, allocations: 8.177 MB / 0.619 GB, free: 15.69 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5081, allocations: 0 / 0.619 GB, free: 15.69 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.5081, allocations: 10.06 kB / 0.619 GB, free: 15.68 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5081, allocations: 0 / 0.619 GB, free: 15.68 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000563/0.5087, allocations: 323.2 kB / 0.6193 GB, free: 15.37 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5087, allocations: 2.188 kB / 0.6193 GB, free: 15.37 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5087, allocations: 3.234 kB / 0.6193 GB, free: 15.37 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.5142, allocations: 3.257 MB / 0.6225 GB, free: 12.08 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005731/0.52, allocations: 4.038 MB / 0.6264 GB, free: 8.008 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002661/0.5226, allocations: 7.984 kB / 0.6265 GB, free: 8 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/0.5255, allocations: 0 / 0.6265 GB, free: 8 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.5256, allocations: 11.72 kB / 0.6265 GB, free: 7.992 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002217/0.5278, allocations: 2.624 MB / 0.629 GB, free: 5.367 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.02305/0.5508, allocations: 19.1 MB / 0.6477 GB, free: 2.582 MB / 0.5106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5508, allocations: 0 / 0.6477 GB, free: 2.582 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.004346/0.5552, allocations: 1.012 MB / 0.6487 GB, free: 1.57 MB / 0.5106 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.0007082/0.5559, allocations: 111.7 kB / 0.6488 GB, free: 1.453 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.5577, allocations: 0.7735 MB / 0.6495 GB, free: 0.6562 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 0.0004616/0.5581, allocations: 0.4922 MB / 0.65 GB, free: 168 kB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008248/0.559, allocations: 425.2 kB / 0.6504 GB, free: 15.73 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/0.5696, allocations: 3.441 MB / 0.6538 GB, free: 12.28 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06878/0.6384, allocations: 60.65 MB / 0.713 GB, free: 15.71 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/0.6486, allocations: 7.632 MB / 0.7205 GB, free: 8.051 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.0134/0.662, allocations: 6.048 MB / 0.7264 GB, free: 2.254 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01452/0.6765, allocations: 6.907 MB / 0.7331 GB, free: 11.34 MB / 0.6044 GB Notification: Performance of SimCode: time 1.693e-06/0.6765, allocations: 0 / 0.7331 GB, free: 11.34 MB / 0.6044 GB Notification: Performance of Templates: time 0.5721/1.249, allocations: 117.5 MB / 0.8478 GB, free: 123.8 MB / 0.6046 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.368893316946924]