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.001415/0.001415, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001453/0.001453, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.8948/0.8948, allocations: 177.1 MB / 205 MB, free: 5.629 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.6197/0.6197, allocations: 88.08 MB / 349.6 MB, free: 14.27 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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="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|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 451.6 MB, free: 33.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.676e-05, allocations: 5.547 kB / 451.6 MB, free: 33.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001824/0.00185, allocations: 1.47 MB / 453 MB, free: 32.35 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000721/0.002571, allocations: 0.5757 MB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.002629, allocations: 4 kB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007514/0.00338, allocations: 1.721 MB / 455.3 MB, free: 31.67 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0008384/0.004219, allocations: 1.769 MB / 457.1 MB, free: 31.34 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.004458, allocations: 78.39 kB / 457.2 MB, free: 31.31 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001706/0.006164, allocations: 4.308 MB / 461.5 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.006203, allocations: 6.469 kB / 461.5 MB, free: 30.52 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.01864, allocations: 16.48 MB / 478 MB, free: 28.7 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.0206, allocations: 2.159 MB / 480.1 MB, free: 28.18 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003352/0.02094, allocations: 4 kB / 480.1 MB, free: 28.17 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.02134, allocations: 71.92 kB / 480.2 MB, free: 28.1 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005035/0.02637, allocations: 10.17 MB / 490.4 MB, free: 17.91 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.0274, allocations: 1.888 MB / 492.3 MB, free: 16 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004054/0.03146, allocations: 10.2 MB / 0.4907 GB, free: 5.75 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.03146, allocations: 4 kB / 0.4907 GB, free: 5.746 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.114e-06/0.03146, allocations: 0 / 0.4907 GB, free: 5.746 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.923e-05/0.03155, allocations: 0 / 0.4907 GB, free: 5.746 MB / 410.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.01045/0.042, allocations: 21.13 MB / 0.5113 GB, free: 420 kB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.04205, allocations: 12.03 kB / 0.5113 GB, free: 408 kB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.04346, allocations: 2.333 MB / 0.5136 GB, free: 14.05 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.0557, allocations: 15.09 MB / 0.5284 GB, free: 14.78 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.05571, allocations: 384 / 0.5284 GB, free: 14.78 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.05582, allocations: 384 / 0.5284 GB, free: 14.78 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/0.05666, allocations: 0.9005 MB / 0.5292 GB, free: 13.87 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.05667, allocations: 12.11 kB / 0.5293 GB, free: 13.86 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.05677, allocations: 4.375 kB / 0.5293 GB, free: 13.85 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.05678, allocations: 3.938 kB / 0.5293 GB, free: 13.85 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.05732, allocations: 0.5908 MB / 0.5298 GB, free: 13.25 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007234/0.06456, allocations: 9.112 MB / 0.5387 GB, free: 4.102 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.06492, allocations: 348.4 kB / 0.5391 GB, free: 3.742 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.06526, allocations: 333.1 kB / 0.5394 GB, free: 3.406 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.06526, allocations: 0 / 0.5394 GB, free: 3.406 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006744/0.06594, allocations: 0.9595 MB / 0.5403 GB, free: 2.418 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.854e-06/0.06594, allocations: 0 / 0.5403 GB, free: 2.418 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.003924/0.06986, allocations: 4.992 MB / 0.5452 GB, free: 13.38 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.0699, allocations: 84.84 kB / 0.5453 GB, free: 13.29 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01569/0.08559, allocations: 22.12 MB / 0.5669 GB, free: 7.367 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.08572, allocations: 25.7 kB / 0.5669 GB, free: 7.336 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007294/0.09301, allocations: 12.05 MB / 0.5787 GB, free: 11.28 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.09317, allocations: 23.84 kB / 0.5787 GB, free: 11.26 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000481/0.09365, allocations: 0.569 MB / 0.5793 GB, free: 10.68 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003616/0.09401, allocations: 492.4 kB / 0.5797 GB, free: 10.19 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.09436, allocations: 325.3 kB / 0.58 GB, free: 9.867 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.09471, allocations: 325.3 kB / 0.5803 GB, free: 9.543 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007097/0.09541, allocations: 0.6507 MB / 0.581 GB, free: 8.875 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.09542, allocations: 8 kB / 0.581 GB, free: 8.867 MB / 0.4949 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003602/0.09902, allocations: 4.676 MB / 0.5856 GB, free: 4.156 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.09906, allocations: 33.7 kB / 0.5856 GB, free: 4.117 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.09907, allocations: 0 / 0.5856 GB, free: 4.117 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.09908, allocations: 3.938 kB / 0.5856 GB, free: 4.113 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.09916, allocations: 7.984 kB / 0.5856 GB, free: 4.105 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.09917, allocations: 4 kB / 0.5856 GB, free: 4.102 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.09996, allocations: 0 / 0.5856 GB, free: 4.102 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/0.1011, allocations: 1.441 MB / 0.587 GB, free: 2.66 MB / 0.4949 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.001065/0.1021, allocations: 198.3 kB / 0.5872 GB, free: 2.449 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/0.1034, allocations: 2.332 MB / 0.5895 GB, free: 104 kB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.1046, allocations: 1.827 MB / 0.5913 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1046, allocations: 3.938 kB / 0.5913 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1046, allocations: 4 kB / 0.5913 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1046, allocations: 0 / 0.5913 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006879/0.1115, allocations: 9.366 MB / 0.6004 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1115, allocations: 0 / 0.6004 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1115, allocations: 7.938 kB / 0.6004 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1115, allocations: 0 / 0.6004 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004838/0.112, allocations: 287.6 kB / 0.6007 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.112, allocations: 4 kB / 0.6007 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.112, allocations: 3.938 kB / 0.6007 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.1155, allocations: 4.952 MB / 0.6055 GB, free: 15.56 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.1169, allocations: 2.027 MB / 0.6075 GB, free: 13.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005881/0.1175, allocations: 4 kB / 0.6075 GB, free: 13.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/0.1182, allocations: 7.984 kB / 0.6075 GB, free: 13.51 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.1182, allocations: 3.938 kB / 0.6075 GB, free: 13.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001263/0.1195, allocations: 1.445 MB / 0.6089 GB, free: 12.06 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01419/0.1337, allocations: 13.63 MB / 0.6222 GB, free: 14.59 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1337, allocations: 3.938 kB / 0.6223 GB, free: 14.58 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.002308/0.136, allocations: 0.5195 MB / 0.6228 GB, free: 14.06 MB / 0.5418 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.0003251/0.1363, allocations: 127.2 kB / 0.6229 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.000976/0.1373, allocations: 0.7284 MB / 0.6236 GB, free: 13.17 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1373, allocations: 0 / 0.6236 GB, free: 13.17 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.1378, allocations: 404.4 kB / 0.624 GB, free: 12.75 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/0.1409, allocations: 1.847 MB / 0.6258 GB, free: 10.9 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3031/0.4441, allocations: 29.79 MB / 0.6549 GB, free: 139.2 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.4467, allocations: 3.831 MB / 0.6586 GB, free: 138.8 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.00655/0.4532, allocations: 3.871 MB / 0.6624 GB, free: 137.9 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.4543, allocations: 0.9866 MB / 0.6634 GB, free: 137.9 MB / 0.5419 GB Notification: Performance of SimCode: time 1.763e-06/0.4543, allocations: 3 kB / 0.6634 GB, free: 137.9 MB / 0.5419 GB Notification: Performance of Templates: time 0.1397/0.594, allocations: 86.75 MB / 0.7481 GB, free: 69.39 MB / 0.5419 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 240] 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","",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.240797883830965]