Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 181.1 kB / 16.38 MB, free: 5.766 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.319/1.319, allocations: 223.2 MB / 240.3 MB, free: 11.85 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.00106/0.00106, allocations: 101.8 kB / 291.5 MB, free: 10.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9328/0.9328, allocations: 120.5 MB / 463.1 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 12 kB / 0.5433 GB, free: 42.43 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.185, allocations: 82.85 MB / 0.6242 GB, free: 9.207 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7821/0.9673, allocations: 129.2 MB / 0.7505 GB, free: 4.969 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001404/0.9675, allocations: 49.61 kB / 0.7505 GB, free: 4.945 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.08671/1.054, allocations: 28.78 MB / 0.7786 GB, free: 10.07 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.905e-06/1.054, allocations: 0 / 0.7786 GB, free: 10.07 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.0005551/1.055, allocations: 68 kB / 0.7787 GB, free: 10 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.008504/1.063, allocations: 4.691 MB / 0.7833 GB, free: 5.477 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.063, allocations: 8.031 kB / 0.7833 GB, free: 5.469 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/1.064, allocations: 0.5707 MB / 0.7838 GB, free: 4.891 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/1.08, allocations: 5.728 MB / 0.7894 GB, free: 15.77 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/1.08, allocations: 15.94 kB / 0.7894 GB, free: 15.75 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/1.08, allocations: 0 / 0.7894 GB, free: 15.75 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/1.08, allocations: 49.55 kB / 0.7895 GB, free: 15.7 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.08, allocations: 0 / 0.7895 GB, free: 15.7 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.08, allocations: 0 / 0.7895 GB, free: 15.7 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.08, allocations: 3.953 kB / 0.7895 GB, free: 15.7 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/1.08, allocations: 15.48 kB / 0.7895 GB, free: 15.68 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004349/1.085, allocations: 1.862 MB / 0.7913 GB, free: 14.27 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/1.085, allocations: 62.17 kB / 0.7914 GB, free: 14.21 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/1.085, allocations: 0 / 0.7914 GB, free: 14.21 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/1.085, allocations: 63.36 kB / 0.7914 GB, free: 14.15 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=5): time 2.184e-06/1.085, allocations: 0 / 0.7914 GB, free: 14.15 MB / 0.5575 GB Notification: Performance of matching and sorting (n=5): time 0.001256/1.086, allocations: 0.6576 MB / 0.7921 GB, free: 13.5 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.086, allocations: 67.3 kB / 0.7921 GB, free: 13.42 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.097, allocations: 5.556 MB / 0.7976 GB, free: 8.898 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/1.097, allocations: 29.58 kB / 0.7976 GB, free: 8.867 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.003066/1.1, allocations: 2.524 MB / 0.8001 GB, free: 8.191 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/1.1, allocations: 11.75 kB / 0.8001 GB, free: 8.184 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/1.1, allocations: 0 / 0.8001 GB, free: 8.184 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.1, allocations: 317.8 kB / 0.8004 GB, free: 7.871 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/1.101, allocations: 11.88 kB / 0.8004 GB, free: 7.863 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/1.101, allocations: 29.64 kB / 0.8004 GB, free: 7.832 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.909e-05/1.101, allocations: 15.75 kB / 0.8004 GB, free: 7.824 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.101, allocations: 4 kB / 0.8004 GB, free: 7.82 MB / 0.5575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001096/1.102, allocations: 0.6422 MB / 0.8011 GB, free: 7.176 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.102, allocations: 8 kB / 0.8011 GB, free: 7.168 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.102, allocations: 0 / 0.8011 GB, free: 7.168 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.102, allocations: 0 / 0.8011 GB, free: 7.168 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/1.102, allocations: 8 kB / 0.8011 GB, free: 7.16 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.102, allocations: 12.02 kB / 0.8011 GB, free: 7.148 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/1.103, allocations: 23.89 kB / 0.8011 GB, free: 7.125 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/1.103, allocations: 7.562 kB / 0.8011 GB, free: 7.121 MB / 0.5575 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.002217/1.105, allocations: 1.27 MB / 0.8024 GB, free: 5.965 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008603/1.106, allocations: 0.5902 MB / 0.8029 GB, free: 5.367 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/1.108, allocations: 0.7386 MB / 0.8037 GB, free: 4.758 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.108, allocations: 0 / 0.8037 GB, free: 4.758 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.108, allocations: 0 / 0.8037 GB, free: 4.758 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.108, allocations: 4 kB / 0.8037 GB, free: 4.754 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004053/1.112, allocations: 2.042 MB / 0.8057 GB, free: 3.164 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.112, allocations: 0 / 0.8057 GB, free: 3.164 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/1.112, allocations: 4 kB / 0.8057 GB, free: 3.16 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/1.112, allocations: 4 kB / 0.8057 GB, free: 3.156 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.112, allocations: 0 / 0.8057 GB, free: 3.156 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.112, allocations: 0 / 0.8057 GB, free: 3.156 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.112, allocations: 0 / 0.8057 GB, free: 3.156 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/1.113, allocations: 0.732 MB / 0.8064 GB, free: 2.418 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.114, allocations: 0.5601 MB / 0.8069 GB, free: 1.832 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/1.115, allocations: 23.94 kB / 0.8069 GB, free: 1.812 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/1.115, allocations: 19.98 kB / 0.807 GB, free: 1.793 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/1.115, allocations: 7.984 kB / 0.807 GB, free: 1.785 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/1.115, allocations: 0 / 0.807 GB, free: 1.785 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.007019/1.122, allocations: 4.405 MB / 0.8113 GB, free: 14.29 MB / 0.5732 GB Notification: Performance of sort global known variables: time 3.31e-07/1.122, allocations: 3.938 kB / 0.8113 GB, free: 14.28 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.0006458/1.123, allocations: 179.9 kB / 0.8114 GB, free: 14.11 MB / 0.5732 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.0009177/1.124, allocations: 416.3 kB / 0.8118 GB, free: 13.86 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.000192/1.124, allocations: 51.59 kB / 0.8119 GB, free: 13.82 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.124, allocations: 0 / 0.8119 GB, free: 13.82 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/1.124, allocations: 19.69 kB / 0.8119 GB, free: 13.8 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008856/1.125, allocations: 443.7 kB / 0.8123 GB, free: 13.62 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/1.136, allocations: 8.983 MB / 0.8211 GB, free: 4.91 MB / 0.5732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002437/1.139, allocations: 2.833 MB / 0.8239 GB, free: 2.176 MB / 0.5732 GB Notification: Performance of simCode: alias equations: time 0.003616/1.142, allocations: 1.424 MB / 0.8253 GB, free: 0.8047 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.143, allocations: 0.5654 MB / 0.8258 GB, free: 344 kB / 0.5732 GB Notification: Performance of SimCode: time 1.463e-06/1.143, allocations: 0 / 0.8258 GB, free: 344 kB / 0.5732 GB Notification: Performance of Templates: time 0.04739/1.191, allocations: 15.39 MB / 0.8408 GB, free: 0.9727 MB / 0.5888 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches