Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 181.3 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.0009774, allocations: 101.9 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8362/0.8362, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 4 kB / 0.5433 GB, free: 42.46 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1533, allocations: 82.85 MB / 0.6242 GB, free: 9.223 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7341/0.8874, allocations: 129.2 MB / 0.7504 GB, free: 4.715 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001635/0.8876, allocations: 50.59 kB / 0.7505 GB, free: 4.691 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 3.625/4.513, allocations: 0.6164 GB / 1.367 GB, free: 145.9 MB / 0.714 GB Notification: Performance of FrontEnd: time 2.795e-06/4.513, allocations: 0 / 1.367 GB, free: 145.9 MB / 0.714 GB Notification: Performance of Transformations before backend: time 0.004899/4.518, allocations: 0.4922 MB / 1.367 GB, free: 145.4 MB / 0.714 GB 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.06679/4.585, allocations: 34.75 MB / 1.401 GB, free: 113.6 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/4.585, allocations: 12.03 kB / 1.401 GB, free: 113.6 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008221/4.593, allocations: 4.527 MB / 1.406 GB, free: 109 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1504/4.743, allocations: 45 MB / 1.45 GB, free: 67.93 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/4.743, allocations: 4 kB / 1.45 GB, free: 67.93 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/4.743, allocations: 3.938 kB / 1.45 GB, free: 67.93 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/4.744, allocations: 53.67 kB / 1.45 GB, free: 67.87 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/4.744, allocations: 0 / 1.45 GB, free: 67.87 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/4.744, allocations: 3.984 kB / 1.45 GB, free: 67.86 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/4.744, allocations: 3.953 kB / 1.45 GB, free: 67.86 MB / 0.714 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.129e-05/4.744, allocations: 16 kB / 1.45 GB, free: 67.84 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03569/4.779, allocations: 13.73 MB / 1.463 GB, free: 54.05 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/4.78, allocations: 62.55 kB / 1.463 GB, free: 53.98 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/4.78, allocations: 2.656 kB / 1.463 GB, free: 53.98 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/4.78, allocations: 67.48 kB / 1.463 GB, free: 53.9 MB / 0.714 GB Notification: Performance of pre-optimization done (n=5): time 4.098e-06/4.78, allocations: 4 kB / 1.463 GB, free: 53.9 MB / 0.714 GB Notification: Performance of matching and sorting (n=5): time 0.006925/4.787, allocations: 4.611 MB / 1.468 GB, free: 49.22 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/4.787, allocations: 59.3 kB / 1.468 GB, free: 49.15 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09781/4.885, allocations: 43.57 MB / 1.51 GB, free: 6.008 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/4.885, allocations: 25.7 kB / 1.51 GB, free: 5.977 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.383/5.268, allocations: 22.42 MB / 1.532 GB, free: 174.5 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/5.268, allocations: 14.98 kB / 1.532 GB, free: 174.5 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/5.268, allocations: 0 / 1.532 GB, free: 174.5 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 6.578e-05/5.268, allocations: 309.4 kB / 1.533 GB, free: 174.1 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/5.268, allocations: 16.58 kB / 1.533 GB, free: 174.1 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/5.268, allocations: 32.53 kB / 1.533 GB, free: 174.1 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.107e-05/5.268, allocations: 17.66 kB / 1.533 GB, free: 174.1 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/5.268, allocations: 0 / 1.533 GB, free: 174.1 MB / 0.714 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.007566/5.276, allocations: 4.597 MB / 1.537 GB, free: 174.1 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/5.276, allocations: 10.12 kB / 1.537 GB, free: 174.1 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/5.276, allocations: 0 / 1.537 GB, free: 174.1 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/5.276, allocations: 4.5 kB / 1.537 GB, free: 174.1 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/5.276, allocations: 14.41 kB / 1.537 GB, free: 174.1 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/5.276, allocations: 0 / 1.537 GB, free: 174.1 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005308/5.281, allocations: 135.4 kB / 1.537 GB, free: 174.1 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/5.282, allocations: 0 / 1.537 GB, free: 174.1 MB / 0.714 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02457/5.306, allocations: 9.394 MB / 1.547 GB, free: 173 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00762/5.314, allocations: 4.649 MB / 1.551 GB, free: 170.5 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01885/5.333, allocations: 5.205 MB / 1.556 GB, free: 169 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/5.333, allocations: 3.438 kB / 1.556 GB, free: 169 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/5.333, allocations: 0 / 1.556 GB, free: 169 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/5.333, allocations: 3.781 kB / 1.556 GB, free: 169 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04776/5.38, allocations: 15.08 MB / 1.571 GB, free: 164 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/5.38, allocations: 1.5 kB / 1.571 GB, free: 164 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/5.381, allocations: 16 kB / 1.571 GB, free: 164 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/5.381, allocations: 0 / 1.571 GB, free: 164 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/5.381, allocations: 3.375 kB / 1.571 GB, free: 164 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/5.381, allocations: 0 / 1.571 GB, free: 164 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/5.381, allocations: 0 / 1.571 GB, free: 164 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007093/5.388, allocations: 5.045 MB / 1.576 GB, free: 161.1 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008271/5.396, allocations: 3.876 MB / 1.58 GB, free: 158.5 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004369/5.4, allocations: 127.1 kB / 1.58 GB, free: 158.5 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004623/5.405, allocations: 134 kB / 1.58 GB, free: 158.5 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/5.405, allocations: 3.188 kB / 1.58 GB, free: 158.5 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/5.405, allocations: 3.438 kB / 1.58 GB, free: 158.5 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.08255/5.488, allocations: 34.89 MB / 1.614 GB, free: 150 MB / 0.714 GB Notification: Performance of sort global known variables: time 5.21e-07/5.488, allocations: 1.75 kB / 1.614 GB, free: 150 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.004826/5.493, allocations: 1.248 MB / 1.615 GB, free: 150 MB / 0.714 GB 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 (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.0009162/5.494, allocations: 422.9 kB / 1.616 GB, free: 149.8 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.0002082/5.494, allocations: 46.67 kB / 1.616 GB, free: 149.8 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/5.494, allocations: 0 / 1.616 GB, free: 149.8 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 5.815e-05/5.494, allocations: 21.92 kB / 1.616 GB, free: 149.8 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01174/5.506, allocations: 3.273 MB / 1.619 GB, free: 147.7 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.117/5.623, allocations: 75.02 MB / 1.692 GB, free: 97.38 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04281/5.665, allocations: 18.08 MB / 1.71 GB, free: 79.25 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.03827/5.704, allocations: 11.32 MB / 1.721 GB, free: 67.94 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01038/5.714, allocations: 4.411 MB / 1.725 GB, free: 63.53 MB / 0.714 GB Notification: Performance of SimCode: time 1.763e-06/5.714, allocations: 0 / 1.725 GB, free: 63.53 MB / 0.714 GB Notification: Performance of Templates: time 0.7261/6.44, allocations: 122 MB / 1.844 GB, free: 161.3 MB / 0.714 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches