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.001895/0.001895, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002796/0.002796, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.308/1.308, allocations: 120.6 MB / 434.5 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.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.002054/0.002054, allocations: 63.91 kB / 0.6072 GB, free: 10.28 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1854, allocations: 85.87 MB / 0.691 GB, free: 4.191 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.003214/0.1887, allocations: 1.425 MB / 0.6924 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.19, allocations: 0.5455 MB / 0.6929 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.1901, allocations: 0 / 0.6929 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.1916, allocations: 1.723 MB / 0.6946 GB, free: 496 kB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.1934, allocations: 1.77 MB / 0.6964 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1937, allocations: 75.78 kB / 0.6964 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.004107/0.1978, allocations: 4.307 MB / 0.7006 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.1979, allocations: 15.92 kB / 0.7006 GB, free: 10.31 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.2012, allocations: 2.145 MB / 0.7027 GB, free: 8.16 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006295/0.2075, allocations: 4.543 MB / 0.7072 GB, free: 3.609 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.2086, allocations: 256 kB / 0.7074 GB, free: 3.359 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.2099, allocations: 319.9 kB / 0.7077 GB, free: 3.047 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0142/0.2241, allocations: 10.36 MB / 0.7178 GB, free: 8.66 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.008588/0.2327, allocations: 4.044 MB / 0.7218 GB, free: 4.574 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01913/0.2518, allocations: 12.78 MB / 0.7343 GB, free: 7.703 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.2518, allocations: 0 / 0.7343 GB, free: 7.703 MB / 0.5608 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2518, allocations: 0 / 0.7343 GB, free: 7.703 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0005984/0.2524, allocations: 0 / 0.7343 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.03446/0.2869, allocations: 20.34 MB / 0.7541 GB, free: 3.156 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2869, allocations: 12.03 kB / 0.7542 GB, free: 3.145 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004068/0.291, allocations: 2.325 MB / 0.7564 GB, free: 0.8047 MB / 0.5764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7622/1.053, allocations: 26.12 MB / 0.7819 GB, free: 46.77 MB / 0.5767 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/1.053, allocations: 384 / 0.7819 GB, free: 46.77 MB / 0.5767 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/1.053, allocations: 65.5 kB / 0.782 GB, free: 46.77 MB / 0.5767 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1.054, allocations: 0.8174 MB / 0.7828 GB, free: 46.5 MB / 0.5767 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.054, allocations: 6.328 kB / 0.7828 GB, free: 46.5 MB / 0.5767 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/1.055, allocations: 64.5 kB / 0.7829 GB, free: 46.5 MB / 0.5767 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/1.055, allocations: 0 / 0.7829 GB, free: 46.5 MB / 0.5767 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/1.055, allocations: 492.1 kB / 0.7833 GB, free: 46.45 MB / 0.5767 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/1.069, allocations: 6.803 MB / 0.79 GB, free: 42.14 MB / 0.5767 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/1.071, allocations: 314 kB / 0.7903 GB, free: 41.82 MB / 0.5767 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008331/1.071, allocations: 302.6 kB / 0.7906 GB, free: 41.52 MB / 0.5767 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/1.071, allocations: 0 / 0.7906 GB, free: 41.52 MB / 0.5767 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009122/1.072, allocations: 0.7418 MB / 0.7913 GB, free: 40.75 MB / 0.5767 GB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/1.072, allocations: 0 / 0.7913 GB, free: 40.75 MB / 0.5767 GB Notification: Performance of matching and sorting (n=8): time 0.006962/1.079, allocations: 4.412 MB / 0.7956 GB, free: 36.3 MB / 0.5767 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/1.079, allocations: 81.11 kB / 0.7957 GB, free: 36.2 MB / 0.5767 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04265/1.122, allocations: 24.84 MB / 0.8199 GB, free: 11.56 MB / 0.5767 GB Notification: Performance of collectPreVariables (initialization): time 0.0008778/1.123, allocations: 93.23 kB / 0.82 GB, free: 11.47 MB / 0.5767 GB Notification: Performance of collectInitialEqns (initialization): time 0.01163/1.134, allocations: 10.83 MB / 0.8306 GB, free: 0.6406 MB / 0.5767 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.136, allocations: 87.94 kB / 0.8307 GB, free: 0.5547 MB / 0.5767 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001901/1.137, allocations: 465.7 kB / 0.8311 GB, free: 96 kB / 0.5767 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.138, allocations: 306 kB / 0.8314 GB, free: 15.79 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/1.139, allocations: 297.7 kB / 0.8317 GB, free: 15.49 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/1.139, allocations: 299.4 kB / 0.832 GB, free: 15.2 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.141, allocations: 0.5998 MB / 0.8326 GB, free: 14.58 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.141, allocations: 0 / 0.8326 GB, free: 14.58 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.008423/1.149, allocations: 4.122 MB / 0.8366 GB, free: 10.43 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 8.96e-05/1.149, allocations: 42.72 kB / 0.8366 GB, free: 10.38 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.149, allocations: 0 / 0.8366 GB, free: 10.38 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.149, allocations: 0.8125 kB / 0.8366 GB, free: 10.38 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/1.149, allocations: 4 kB / 0.8366 GB, free: 10.38 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.149, allocations: 5.688 kB / 0.8366 GB, free: 10.38 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/1.154, allocations: 71.95 kB / 0.8367 GB, free: 10.3 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/1.155, allocations: 0.8578 MB / 0.8376 GB, free: 9.449 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.009829/1.165, allocations: 4.905 MB / 0.8423 GB, free: 4.523 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005915/1.171, allocations: 2.386 MB / 0.8447 GB, free: 2.121 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007115/1.178, allocations: 2.565 MB / 0.8472 GB, free: 15.55 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.178, allocations: 3.891 kB / 0.8472 GB, free: 15.55 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.178, allocations: 11.38 kB / 0.8472 GB, free: 15.55 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.178, allocations: 5.109 kB / 0.8472 GB, free: 15.55 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02307/1.201, allocations: 7.412 MB / 0.8544 GB, free: 8.102 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/1.201, allocations: 0 / 0.8544 GB, free: 8.102 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/1.201, allocations: 4 kB / 0.8544 GB, free: 8.098 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/1.201, allocations: 6.109 kB / 0.8544 GB, free: 8.098 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/1.202, allocations: 192 kB / 0.8546 GB, free: 7.91 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/1.202, allocations: 0 / 0.8546 GB, free: 7.91 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.202, allocations: 0 / 0.8546 GB, free: 7.91 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/1.215, allocations: 4.326 MB / 0.8589 GB, free: 3.539 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008096/1.223, allocations: 2.031 MB / 0.8608 GB, free: 1.492 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003609/1.226, allocations: 71.53 kB / 0.8609 GB, free: 1.426 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003827/1.23, allocations: 64 kB / 0.861 GB, free: 1.363 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/1.23, allocations: 3.984 kB / 0.861 GB, free: 1.359 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001682/1.232, allocations: 0.8671 MB / 0.8618 GB, free: 0.4922 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.03683/1.269, allocations: 17.23 MB / 0.8786 GB, free: 15.41 MB / 0.6392 GB Notification: Performance of sort global known variables: time 3.1e-07/1.269, allocations: 0 / 0.8786 GB, free: 15.41 MB / 0.6392 GB Notification: Performance of remove unused functions: time 0.005384/1.274, allocations: 0.6484 MB / 0.8793 GB, free: 14.76 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.0009609/1.275, allocations: 179.1 kB / 0.8794 GB, free: 14.58 MB / 0.6392 GB Notification: Performance of simCode: created initialization part: time 0.002833/1.278, allocations: 0.7245 MB / 0.8802 GB, free: 13.83 MB / 0.6392 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.278, allocations: 0 / 0.8802 GB, free: 13.83 MB / 0.6392 GB Notification: Performance of simCode: created simulation system equations: time 0.0007824/1.279, allocations: 425.1 kB / 0.8806 GB, free: 13.4 MB / 0.6392 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/1.289, allocations: 1.695 MB / 0.8822 GB, free: 11.7 MB / 0.6392 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06086/1.35, allocations: 35.25 MB / 0.9166 GB, free: 8.602 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01841/1.368, allocations: 8.643 MB / 0.9251 GB, free: 15.92 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.01491/1.383, allocations: 4.693 MB / 0.9297 GB, free: 11.24 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002398/1.385, allocations: 0.9916 MB / 0.9306 GB, free: 10.25 MB / 0.686 GB Notification: Performance of SimCode: time 1.533e-06/1.385, allocations: 0 / 0.9306 GB, free: 10.25 MB / 0.686 GB Notification: Performance of Templates: time 0.2689/1.654, allocations: 102.7 MB / 1.031 GB, free: 3.273 MB / 0.7798 GB " [Timeout remaining time 298] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/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: 10.275933537632227]