Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 180.2 kB / 17.4 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 223.6 MB, free: 8.918 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009202/0.0009203, allocations: 77.06 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8635/0.8635, allocations: 120.4 MB / 440.6 MB, free: 4.09 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 16 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1246, allocations: 80 MB / 0.597 GB, free: 9.129 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6237/0.7484, allocations: 125.9 MB / 0.7199 GB, free: 18.58 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001557/0.7486, allocations: 51.03 kB / 0.7199 GB, free: 18.58 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.02872/0.7773, allocations: 13.33 MB / 0.733 GB, free: 7.098 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7774, allocations: 0 / 0.733 GB, free: 7.098 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 0.0001428/0.7775, allocations: 32 kB / 0.733 GB, free: 7.062 MB / 0.4953 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.002526/0.7801, allocations: 2.495 MB / 0.7354 GB, free: 4.621 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.7801, allocations: 8.031 kB / 0.7354 GB, free: 4.613 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.7804, allocations: 301.1 kB / 0.7357 GB, free: 4.316 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.7841, allocations: 3.065 MB / 0.7387 GB, free: 1.531 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.7841, allocations: 384 / 0.7387 GB, free: 1.531 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.7842, allocations: 12.38 kB / 0.7387 GB, free: 1.52 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.7843, allocations: 138 kB / 0.7389 GB, free: 1.383 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7844, allocations: 4.172 kB / 0.7389 GB, free: 1.379 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.7844, allocations: 11.94 kB / 0.7389 GB, free: 1.367 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.7844, allocations: 0 / 0.7389 GB, free: 1.367 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.7845, allocations: 75.75 kB / 0.739 GB, free: 1.301 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006843/0.7852, allocations: 1.004 MB / 0.7399 GB, free: 0.5039 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.7853, allocations: 77.94 kB / 0.74 GB, free: 440 kB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.7854, allocations: 60.48 kB / 0.7401 GB, free: 388 kB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.7854, allocations: 0 / 0.7401 GB, free: 388 kB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.7856, allocations: 168.9 kB / 0.7402 GB, free: 208 kB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.7856, allocations: 0 / 0.7402 GB, free: 208 kB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.0007239/0.7863, allocations: 0.6589 MB / 0.7409 GB, free: 15.55 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.7864, allocations: 89.09 kB / 0.741 GB, free: 15.44 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/0.7895, allocations: 3.175 MB / 0.7441 GB, free: 12.9 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.7895, allocations: 33.7 kB / 0.7441 GB, free: 12.86 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 0.000783/0.7903, allocations: 1.264 MB / 0.7453 GB, free: 12.49 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.7904, allocations: 20.38 kB / 0.7453 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.7904, allocations: 12.5 kB / 0.7454 GB, free: 12.46 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.7905, allocations: 315.7 kB / 0.7457 GB, free: 12.15 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.7906, allocations: 45.81 kB / 0.7457 GB, free: 12.11 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.7907, allocations: 54.05 kB / 0.7457 GB, free: 12.07 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.7909, allocations: 162.9 kB / 0.7459 GB, free: 11.91 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7909, allocations: 0 / 0.7459 GB, free: 11.91 MB / 0.5109 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000583/0.7915, allocations: 0.6056 MB / 0.7465 GB, free: 11.31 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.7915, allocations: 46.06 kB / 0.7465 GB, free: 11.26 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7915, allocations: 0 / 0.7465 GB, free: 11.26 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.7915, allocations: 0 / 0.7465 GB, free: 11.26 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/0.7916, allocations: 4.875 kB / 0.7465 GB, free: 11.26 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.7916, allocations: 0 / 0.7465 GB, free: 11.26 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.7918, allocations: 19.84 kB / 0.7466 GB, free: 11.24 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.7919, allocations: 117.1 kB / 0.7467 GB, free: 11.14 MB / 0.5109 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007443/0.7927, allocations: 0.7435 MB / 0.7474 GB, free: 10.45 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.7929, allocations: 296.2 kB / 0.7477 GB, free: 10.15 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.7932, allocations: 333.4 kB / 0.748 GB, free: 9.887 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.7932, allocations: 0 / 0.748 GB, free: 9.887 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7932, allocations: 0 / 0.748 GB, free: 9.887 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7932, allocations: 4 kB / 0.748 GB, free: 9.883 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.7941, allocations: 1.094 MB / 0.7491 GB, free: 9 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7941, allocations: 7.984 kB / 0.7491 GB, free: 8.992 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.7942, allocations: 4.141 kB / 0.7491 GB, free: 8.988 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.7942, allocations: 3.938 kB / 0.7491 GB, free: 8.984 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.7942, allocations: 32.08 kB / 0.7491 GB, free: 8.953 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7942, allocations: 4.812 kB / 0.7491 GB, free: 8.949 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7942, allocations: 0 / 0.7491 GB, free: 8.949 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.7948, allocations: 0.6602 MB / 0.7498 GB, free: 8.293 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.7952, allocations: 329.2 kB / 0.7501 GB, free: 7.949 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.7953, allocations: 15.94 kB / 0.7501 GB, free: 7.934 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.7955, allocations: 23.75 kB / 0.7501 GB, free: 7.914 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.7955, allocations: 7.922 kB / 0.7501 GB, free: 7.906 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.951e-05/0.7956, allocations: 115.4 kB / 0.7502 GB, free: 7.809 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 0.002354/0.798, allocations: 2.194 MB / 0.7524 GB, free: 6.062 MB / 0.5109 GB Notification: Performance of sort global known variables: time 1.41e-07/0.798, allocations: 0 / 0.7524 GB, free: 6.062 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003836/0.7984, allocations: 119.8 kB / 0.7525 GB, free: 5.949 MB / 0.5109 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001967/0.7986, allocations: 128.9 kB / 0.7526 GB, free: 5.812 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.7989, allocations: 214.2 kB / 0.7528 GB, free: 5.629 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7989, allocations: 0 / 0.7528 GB, free: 5.629 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.799, allocations: 150.6 kB / 0.753 GB, free: 5.496 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.7997, allocations: 223.3 kB / 0.7532 GB, free: 5.398 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/0.8045, allocations: 4.441 MB / 0.7575 GB, free: 1.082 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.8058, allocations: 1.693 MB / 0.7592 GB, free: 15.42 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.001349/0.8071, allocations: 0.5806 MB / 0.7597 GB, free: 14.83 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.8073, allocations: 135.4 kB / 0.7599 GB, free: 14.7 MB / 0.5265 GB Notification: Performance of SimCode: time 3.5e-07/0.8073, allocations: 0 / 0.7599 GB, free: 14.7 MB / 0.5265 GB Notification: Performance of Templates: time 0.02442/0.8317, allocations: 10.47 MB / 0.7701 GB, free: 4.188 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches