Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 111.3 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.067/1.067, allocations: 119.3 MB / 411.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 60.09 kB / 0.4911 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6167/0.6181, allocations: 80.68 MB / 0.5699 GB, free: 43.72 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.003052/0.6212, allocations: 1.639 MB / 0.5715 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.6227, allocations: 0.8785 MB / 0.5723 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.6227, allocations: 3.938 kB / 0.5723 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.6254, allocations: 3.461 MB / 0.5757 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.627, allocations: 1.798 MB / 0.5775 GB, free: 39.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.6274, allocations: 88.06 kB / 0.5776 GB, free: 39.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004325/0.6317, allocations: 4.34 MB / 0.5818 GB, free: 36.93 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.397e-05/0.6318, allocations: 7.703 kB / 0.5818 GB, free: 36.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.6359, allocations: 2.165 MB / 0.5839 GB, free: 35.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/0.6394, allocations: 4.068 MB / 0.5879 GB, free: 31.54 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.6398, allocations: 252 kB / 0.5881 GB, free: 31.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.6403, allocations: 280 kB / 0.5884 GB, free: 31.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006062/0.6464, allocations: 9.97 MB / 0.5981 GB, free: 21.02 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00501/0.6514, allocations: 5.647 MB / 0.6036 GB, free: 15.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005976/0.6574, allocations: 9.346 MB / 0.6128 GB, free: 5.949 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.6574, allocations: 0 / 0.6128 GB, free: 5.949 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6575, allocations: 0 / 0.6128 GB, free: 5.949 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0003629/0.6578, allocations: 0 / 0.6128 GB, free: 5.949 MB / 462.3 MB 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.02858/0.6864, allocations: 19.58 MB / 0.6319 GB, free: 2.152 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.6865, allocations: 11.89 kB / 0.6319 GB, free: 2.141 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.6895, allocations: 2.206 MB / 0.6341 GB, free: 15.9 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05182/0.7414, allocations: 25.84 MB / 0.6593 GB, free: 5.863 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.7415, allocations: 384 / 0.6593 GB, free: 5.863 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.7415, allocations: 4.125 kB / 0.6593 GB, free: 5.859 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.7417, allocations: 53.61 kB / 0.6593 GB, free: 5.801 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.7417, allocations: 0 / 0.6593 GB, free: 5.801 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.7417, allocations: 7.984 kB / 0.6594 GB, free: 5.793 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.7417, allocations: 0 / 0.6594 GB, free: 5.793 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.7418, allocations: 11.98 kB / 0.6594 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.7539, allocations: 6.954 MB / 0.6662 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.7542, allocations: 54.61 kB / 0.6662 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.52e-05/0.7543, allocations: 24.73 kB / 0.6662 GB, free: 14.69 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.7543, allocations: 3.984 kB / 0.6662 GB, free: 14.68 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.7547, allocations: 67.39 kB / 0.6663 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 2.905e-06/0.7547, allocations: 4 kB / 0.6663 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.005039/0.7597, allocations: 2.347 MB / 0.6686 GB, free: 12.22 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.7598, allocations: 51.41 kB / 0.6686 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04549/0.8053, allocations: 25.36 MB / 0.6934 GB, free: 3.008 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.8054, allocations: 29.7 kB / 0.6934 GB, free: 2.973 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01538/0.8208, allocations: 11.35 MB / 0.7045 GB, free: 7.621 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/0.8209, allocations: 15.84 kB / 0.7045 GB, free: 7.605 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.821, allocations: 21.7 kB / 0.7046 GB, free: 7.578 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.8211, allocations: 314 kB / 0.7049 GB, free: 7.266 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.8213, allocations: 8 kB / 0.7049 GB, free: 7.258 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-05/0.8214, allocations: 33.64 kB / 0.7049 GB, free: 7.219 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.8215, allocations: 49.89 kB / 0.7049 GB, free: 7.164 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8215, allocations: 0 / 0.7049 GB, free: 7.164 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004938/0.8265, allocations: 2.347 MB / 0.7072 GB, free: 4.781 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.8265, allocations: 8 kB / 0.7072 GB, free: 4.773 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8265, allocations: 0 / 0.7072 GB, free: 4.773 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.8265, allocations: 0 / 0.7072 GB, free: 4.773 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.8266, allocations: 15.98 kB / 0.7073 GB, free: 4.758 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.8266, allocations: 0 / 0.7073 GB, free: 4.758 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004457/0.8311, allocations: 68 kB / 0.7073 GB, free: 4.691 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.8311, allocations: 0 / 0.7073 GB, free: 4.691 MB / 0.5452 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007874/0.839, allocations: 4.767 MB / 0.712 GB, free: 15.91 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004722/0.8438, allocations: 2.326 MB / 0.7142 GB, free: 13.55 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007015/0.8508, allocations: 2.569 MB / 0.7168 GB, free: 10.98 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.8508, allocations: 0 / 0.7168 GB, free: 10.98 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8508, allocations: 3.984 kB / 0.7168 GB, free: 10.98 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8508, allocations: 0 / 0.7168 GB, free: 10.98 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/0.8706, allocations: 7.618 MB / 0.7242 GB, free: 3.312 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.8706, allocations: 0 / 0.7242 GB, free: 3.312 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.8707, allocations: 4 kB / 0.7242 GB, free: 3.309 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.8707, allocations: 0 / 0.7242 GB, free: 3.309 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.8708, allocations: 7.984 kB / 0.7242 GB, free: 3.301 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.8708, allocations: 0 / 0.7242 GB, free: 3.301 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.8708, allocations: 4 kB / 0.7242 GB, free: 3.297 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005792/0.8766, allocations: 2.567 MB / 0.7267 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005419/0.882, allocations: 1.8 MB / 0.7285 GB, free: 14.83 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00325/0.8853, allocations: 64.12 kB / 0.7285 GB, free: 14.77 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003198/0.8885, allocations: 71.94 kB / 0.7286 GB, free: 14.7 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.8886, allocations: 0 / 0.7286 GB, free: 14.7 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.8886, allocations: 4 kB / 0.7286 GB, free: 14.7 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03688/0.9255, allocations: 17.52 MB / 0.7457 GB, free: 13.34 MB / 0.592 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9256, allocations: 0 / 0.7457 GB, free: 13.34 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.004584/0.9302, allocations: 0.6289 MB / 0.7463 GB, free: 12.71 MB / 0.592 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001184/0.9314, allocations: 409.2 kB / 0.7467 GB, free: 12.46 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.9317, allocations: 47.91 kB / 0.7468 GB, free: 12.41 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9317, allocations: 0 / 0.7468 GB, free: 12.41 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.9318, allocations: 16 kB / 0.7468 GB, free: 12.4 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01178/0.9436, allocations: 1.724 MB / 0.7485 GB, free: 10.67 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.58/1.524, allocations: 39.95 MB / 0.7875 GB, free: 143.8 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/1.536, allocations: 8.921 MB / 0.7962 GB, free: 138.2 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004051/1.54, allocations: 2.217 MB / 0.7984 GB, free: 136 MB / 0.5923 GB Notification: Performance of SimCode: time 1.182e-06/1.54, allocations: 0 / 0.7984 GB, free: 136 MB / 0.5923 GB Notification: Performance of Templates: time 4.805/6.345, allocations: 1.605 GB / 2.404 GB, free: 198.8 MB / 0.7173 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches