Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.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.0009828/0.0009828, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.001095/0.001095, allocations: 169.6 kB / 24.91 MB, free: 8.773 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.9855/0.9855, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.6252/0.6252, allocations: 88.08 MB / 349.9 MB, free: 14.13 MB / 330.7 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.CombiTimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 398.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.373e-05, allocations: 3.406 kB / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250): time 0.003/0.003023, allocations: 1.616 MB / 400.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.004716, allocations: 1.021 MB / 401.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.634e-05/0.004812, allocations: 7.938 kB / 401.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.005419, allocations: 479.2 kB / 401.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006682/0.006087, allocations: 371.1 kB / 402.3 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.006315, allocations: 79.59 kB / 402.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.006959, allocations: 0.6435 MB / 403 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.007007, allocations: 7.938 kB / 403 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.009533, allocations: 1.933 MB / 404.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.009928, allocations: 303.5 kB / 405.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.315e-05/0.009991, allocations: 4 kB / 405.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.01015, allocations: 31.92 kB / 405.3 MB, free: 7.102 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.01138, allocations: 1.144 MB / 406.4 MB, free: 5.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003707/0.01175, allocations: 260.2 kB / 406.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.01307, allocations: 1.274 MB / 407.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.01308, allocations: 0 / 407.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.01308, allocations: 0 / 407.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.442e-05/0.01315, allocations: 0 / 407.9 MB, free: 4.418 MB / 378.7 MB 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.003182/0.01634, allocations: 2.653 MB / 410.6 MB, free: 1.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.01638, allocations: 8.031 kB / 410.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.01669, allocations: 156.7 kB / 410.7 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.01992, allocations: 1.936 MB / 412.7 MB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.01995, allocations: 12.36 kB / 412.7 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.01997, allocations: 4.375 kB / 412.7 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.02015, allocations: 65.45 kB / 412.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.02015, allocations: 0 / 412.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.02016, allocations: 0 / 412.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.02017, allocations: 0 / 412.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.0202, allocations: 7.984 kB / 412.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.02062, allocations: 263.1 kB / 413 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.02073, allocations: 37.42 kB / 413.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.02076, allocations: 20.84 kB / 413.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.02077, allocations: 0 / 413.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.02088, allocations: 66.11 kB / 413.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.02088, allocations: 4 kB / 413.2 MB, free: 14.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.00025/0.02113, allocations: 197.4 kB / 413.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.02116, allocations: 51.41 kB / 413.4 MB, free: 14.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.02277, allocations: 2.713 MB / 416.1 MB, free: 11.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.02279, allocations: 25.7 kB / 416.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.02304, allocations: 0.5055 MB / 416.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.02308, allocations: 15.89 kB / 416.7 MB, free: 11.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.02311, allocations: 25.69 kB / 416.7 MB, free: 11.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.02318, allocations: 313.9 kB / 417 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.0232, allocations: 6.828 kB / 417 MB, free: 11.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.02322, allocations: 21.69 kB / 417 MB, free: 11.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/0.02326, allocations: 31.36 kB / 417 MB, free: 11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.02326, allocations: 0 / 417 MB, free: 11 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001691/0.02343, allocations: 204.3 kB / 417.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.02345, allocations: 4 kB / 417.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.02345, allocations: 4.031 kB / 417.3 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.02347, allocations: 7.938 kB / 417.3 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.02354, allocations: 12.3 kB / 417.3 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.02354, allocations: 0 / 417.3 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.02365, allocations: 7.953 kB / 417.3 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.02365, allocations: 4 kB / 417.3 MB, free: 10.75 MB / 394.7 MB 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.0001732/0.02383, allocations: 123.9 kB / 417.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.02393, allocations: 143.8 kB / 417.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.02419, allocations: 295.9 kB / 417.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.02419, allocations: 3.938 kB / 417.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.0242, allocations: 4 kB / 417.8 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.0242, allocations: 0 / 417.8 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.02465, allocations: 0.5852 MB / 418.4 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.02465, allocations: 0 / 418.4 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.02468, allocations: 4 kB / 418.4 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.02468, allocations: 0 / 418.4 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.02469, allocations: 0 / 418.4 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.02469, allocations: 4 kB / 418.4 MB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.02469, allocations: 7.922 kB / 418.4 MB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.02488, allocations: 236.9 kB / 418.7 MB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.02504, allocations: 249.8 kB / 418.9 MB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.02511, allocations: 11.98 kB / 418.9 MB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.02522, allocations: 7.984 kB / 418.9 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.02524, allocations: 0 / 418.9 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.02525, allocations: 11.92 kB / 418.9 MB, free: 9.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009119/0.02617, allocations: 1.439 MB / 420.4 MB, free: 7.562 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02617, allocations: 0 / 420.4 MB, free: 7.562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.02637, allocations: 76 kB / 420.5 MB, free: 7.488 MB / 394.7 MB 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.001154/0.02753, allocations: 0.5043 MB / 421 MB, free: 7.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.807e-05/0.02761, allocations: 40.78 kB / 421 MB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.917e-05/0.02762, allocations: 32.62 kB / 421 MB, free: 7.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.931e-05/0.02765, allocations: 16.84 kB / 421.1 MB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.0281, allocations: 249.2 kB / 421.3 MB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.03088, allocations: 3.589 MB / 424.9 MB, free: 3.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.03123, allocations: 0.5221 MB / 425.4 MB, free: 2.699 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000708/0.03194, allocations: 494.9 kB / 425.9 MB, free: 2.211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/0.03235, allocations: 407.2 kB / 426.3 MB, free: 1.812 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/0.03235, allocations: 0 / 426.3 MB, free: 1.812 MB / 394.7 MB Notification: Performance of Templates: time 0.01633/0.04869, allocations: 7.572 MB / 433.9 MB, free: 10.26 MB / 410.7 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_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: 3.7390969158150256]