Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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.001313/0.001313, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.0009816/0.0009816, allocations: 161 kB / 24.99 MB, free: 9.32 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.9577/0.9577, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.7363/0.7363, allocations: 88.07 MB / 349.9 MB, free: 14.28 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.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 451.5 MB, free: 33.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.498e-05, allocations: 7.969 kB / 451.6 MB, free: 33.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.001925/0.00196, allocations: 1.468 MB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007322/0.002693, allocations: 0.5778 MB / 453.6 MB, free: 32.02 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.002754, allocations: 2.812 kB / 453.6 MB, free: 32.02 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005789/0.008543, allocations: 13.68 MB / 467.3 MB, free: 29.56 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.01978, allocations: 13.73 MB / 481 MB, free: 25.36 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.02022, allocations: 78.86 kB / 481.1 MB, free: 25.3 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.02637/0.04659, allocations: 34.01 MB / 0.503 GB, free: 9.469 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.088e-05/0.04666, allocations: 0 / 0.503 GB, free: 9.469 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03485/0.0815, allocations: 18.85 MB / 0.5214 GB, free: 6.586 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04193/0.1234, allocations: 36.16 MB / 0.5568 GB, free: 2.367 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01116/0.1346, allocations: 1.961 MB / 0.5587 GB, free: 416 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/0.1465, allocations: 2.023 MB / 0.5606 GB, free: 14.38 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.4995/0.646, allocations: 83.75 MB / 0.6424 GB, free: 78.27 MB / 0.5419 GB Notification: Performance of NFVerifyModel.verify: time 0.04519/0.6912, allocations: 19.06 MB / 0.661 GB, free: 67.42 MB / 0.5419 GB Notification: Performance of NFConvertDAE.convert: time 0.06408/0.7553, allocations: 79.68 MB / 0.7389 GB, free: 36.08 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.7553, allocations: 1.344 kB / 0.7389 GB, free: 36.08 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7553, allocations: 0 / 0.7389 GB, free: 36.08 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.007076/0.7623, allocations: 0 / 0.7389 GB, free: 36.08 MB / 0.5419 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.7924/1.555, allocations: 166.3 MB / 0.9013 GB, free: 84.61 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 7.622e-05/1.555, allocations: 8.219 kB / 0.9013 GB, free: 84.61 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02627/1.581, allocations: 18.56 MB / 0.9194 GB, free: 73.73 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3239/1.905, allocations: 171.4 MB / 1.087 GB, free: 7.105 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/1.905, allocations: 384 / 1.087 GB, free: 7.105 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/1.906, allocations: 0.4886 MB / 1.087 GB, free: 6.617 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00686/1.913, allocations: 5.939 MB / 1.093 GB, free: 0.6641 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.913, allocations: 3.812 kB / 1.093 GB, free: 0.6641 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/1.914, allocations: 0.4901 MB / 1.094 GB, free: 180 kB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/1.914, allocations: 0 / 1.094 GB, free: 180 kB / 0.6984 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004596/1.919, allocations: 3.466 MB / 1.097 GB, free: 12.7 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6637/2.583, allocations: 72.67 MB / 1.168 GB, free: 179.2 MB / 0.7614 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009731/2.592, allocations: 2.021 MB / 1.17 GB, free: 179.2 MB / 0.7614 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006956/2.599, allocations: 2.003 MB / 1.172 GB, free: 179.1 MB / 0.7614 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/2.599, allocations: 0 / 1.172 GB, free: 179.1 MB / 0.7614 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004819/2.604, allocations: 5.014 MB / 1.177 GB, free: 179 MB / 0.7614 GB Notification: Performance of pre-optimization done (n=8): time 3.937e-06/2.604, allocations: 4.812 kB / 1.177 GB, free: 179 MB / 0.7614 GB Notification: Performance of matching and sorting (n=8): time 0.04354/2.648, allocations: 34.38 MB / 1.21 GB, free: 178.9 MB / 0.7614 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/2.648, allocations: 77.11 kB / 1.21 GB, free: 178.8 MB / 0.7614 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3025/2.95, allocations: 176 MB / 1.382 GB, free: 81.99 MB / 0.7614 GB Notification: Performance of collectPreVariables (initialization): time 0.003463/2.954, allocations: 0.5139 MB / 1.383 GB, free: 81.47 MB / 0.7614 GB Notification: Performance of collectInitialEqns (initialization): time 0.4193/3.373, allocations: 107.3 MB / 1.488 GB, free: 129.7 MB / 0.7614 GB Notification: Performance of collectInitialBindings (initialization): time 0.004066/3.377, allocations: 0.5049 MB / 1.488 GB, free: 129.7 MB / 0.7614 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01118/3.388, allocations: 3.444 MB / 1.491 GB, free: 129.6 MB / 0.7614 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/3.388, allocations: 495.1 kB / 1.492 GB, free: 129.1 MB / 0.7614 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0102/3.399, allocations: 1.992 MB / 1.494 GB, free: 129.1 MB / 0.7614 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0107/3.409, allocations: 1.997 MB / 1.496 GB, free: 129.1 MB / 0.7614 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/3.427, allocations: 4.004 MB / 1.5 GB, free: 129 MB / 0.7614 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/3.427, allocations: 0 / 1.5 GB, free: 129 MB / 0.7614 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.05439/3.481, allocations: 32.4 MB / 1.531 GB, free: 128.9 MB / 0.7614 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/3.481, allocations: 36.34 kB / 1.531 GB, free: 128.9 MB / 0.7614 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/3.481, allocations: 0 / 1.531 GB, free: 128.9 MB / 0.7614 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/3.481, allocations: 0 / 1.531 GB, free: 128.9 MB / 0.7614 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/3.481, allocations: 8.297 kB / 1.531 GB, free: 128.9 MB / 0.7614 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/3.481, allocations: 3.938 kB / 1.531 GB, free: 128.9 MB / 0.7614 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02762/3.509, allocations: 0.4892 MB / 1.532 GB, free: 128.9 MB / 0.7614 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01402/3.523, allocations: 6.847 MB / 1.539 GB, free: 128.9 MB / 0.7614 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.03508/3.558, allocations: 1.165 MB / 1.54 GB, free: 128.7 MB / 0.7614 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02741/3.585, allocations: 19.55 MB / 1.559 GB, free: 128.7 MB / 0.7614 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03774/3.623, allocations: 14.58 MB / 1.573 GB, free: 126.8 MB / 0.7614 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/3.623, allocations: 2.062 kB / 1.573 GB, free: 126.8 MB / 0.7614 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/3.623, allocations: 7.781 kB / 1.573 GB, free: 126.8 MB / 0.7614 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/3.623, allocations: 0 / 1.573 GB, free: 126.8 MB / 0.7614 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1512/3.774, allocations: 74.63 MB / 1.646 GB, free: 122.6 MB / 0.7614 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/3.774, allocations: 2.016 kB / 1.646 GB, free: 122.6 MB / 0.7614 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/3.775, allocations: 8.906 kB / 1.646 GB, free: 122.6 MB / 0.7614 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/3.775, allocations: 0 / 1.646 GB, free: 122.6 MB / 0.7614 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004482/3.779, allocations: 1.469 MB / 1.647 GB, free: 121.2 MB / 0.7614 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/3.779, allocations: 0 / 1.647 GB, free: 121.2 MB / 0.7614 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/3.779, allocations: 0 / 1.647 GB, free: 121.2 MB / 0.7614 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05268/3.832, allocations: 34.29 MB / 1.681 GB, free: 86.73 MB / 0.7614 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03672/3.868, allocations: 16.13 MB / 1.697 GB, free: 70.48 MB / 0.7614 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01425/3.883, allocations: 0.4922 MB / 1.697 GB, free: 69.98 MB / 0.7614 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02076/3.903, allocations: 0.4913 MB / 1.698 GB, free: 69.5 MB / 0.7614 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/3.904, allocations: 9.844 kB / 1.698 GB, free: 69.49 MB / 0.7614 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.009416/3.913, allocations: 6.843 MB / 1.704 GB, free: 63.63 MB / 0.7614 GB Notification: Performance of sorting global known variables: time 0.5938/4.507, allocations: 117.2 MB / 1.819 GB, free: 162.4 MB / 0.7614 GB Notification: Performance of sort global known variables: time 2.51e-07/4.507, allocations: 0 / 1.819 GB, free: 162.4 MB / 0.7614 GB Notification: Performance of remove unused functions: time 0.03269/4.539, allocations: 4.913 MB / 1.823 GB, free: 162.4 MB / 0.7614 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.004957/4.544, allocations: 0.6147 MB / 1.824 GB, free: 162.3 MB / 0.7614 GB Notification: Performance of simCode: created initialization part: time 0.02144/4.566, allocations: 4.567 MB / 1.829 GB, free: 162.2 MB / 0.7614 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/4.566, allocations: 1.75 kB / 1.829 GB, free: 162.2 MB / 0.7614 GB Notification: Performance of simCode: created simulation system equations: time 0.004762/4.571, allocations: 2.557 MB / 1.831 GB, free: 162.1 MB / 0.7614 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1052/4.676, allocations: 14.47 MB / 1.845 GB, free: 153.4 MB / 0.7614 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.695/5.371, allocations: 254.6 MB / 2.094 GB, free: 198.1 MB / 0.777 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06368/5.434, allocations: 30.41 MB / 2.124 GB, free: 183.2 MB / 0.777 GB Notification: Performance of simCode: alias equations: time 0.08828/5.523, allocations: 31.8 MB / 2.155 GB, free: 164.4 MB / 0.777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02129/5.544, allocations: 7.821 MB / 2.162 GB, free: 164.4 MB / 0.777 GB Notification: Performance of SimCode: time 2.776e-06/5.544, allocations: 0 / 2.162 GB, free: 164.4 MB / 0.777 GB Notification: Performance of Templates: time 1.893/7.437, allocations: 0.5724 GB / 2.735 GB, free: 184.2 MB / 0.8239 GB " [Timeout remaining time 293] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_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: 34.81557133910246]