Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001385/0.001385, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001419/0.001419, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.562/1.562, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.402/1.402, allocations: 119.3 MB / 411 MB, free: 9.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 71.88 kB / 0.4909 GB, free: 13.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6885, allocations: 80.69 MB / 0.5697 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.006069/0.6947, allocations: 1.573 MB / 0.5713 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.6974, allocations: 0.8862 MB / 0.5721 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.6976, allocations: 0 / 0.5721 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004766/0.7024, allocations: 3.469 MB / 0.5755 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.7059, allocations: 1.794 MB / 0.5773 GB, free: 38.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.7067, allocations: 108.5 kB / 0.5774 GB, free: 38.69 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008234/0.715, allocations: 4.352 MB / 0.5816 GB, free: 36.57 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.7151, allocations: 13.31 kB / 0.5817 GB, free: 36.56 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006785/0.7219, allocations: 2.158 MB / 0.5838 GB, free: 35.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008312/0.7303, allocations: 4.068 MB / 0.5877 GB, free: 31.28 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002303/0.7326, allocations: 252 kB / 0.588 GB, free: 31.04 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.7351, allocations: 280 kB / 0.5882 GB, free: 30.76 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01489/0.75, allocations: 9.966 MB / 0.598 GB, free: 20.77 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01441/0.7645, allocations: 5.643 MB / 0.6035 GB, free: 15.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.7783, allocations: 12.18 MB / 0.6154 GB, free: 2.828 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.7784, allocations: 0 / 0.6154 GB, free: 2.828 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.137e-06/0.7784, allocations: 4 kB / 0.6154 GB, free: 2.824 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0005944/0.779, allocations: 0 / 0.6154 GB, free: 2.824 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.02892/0.8079, allocations: 19.58 MB / 0.6345 GB, free: 15.02 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.808, allocations: 15.89 kB / 0.6345 GB, free: 15 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.8111, allocations: 2.206 MB / 0.6367 GB, free: 12.77 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05806/0.8692, allocations: 25.84 MB / 0.6619 GB, free: 2.738 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.8693, allocations: 4.375 kB / 0.6619 GB, free: 2.734 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.8693, allocations: 8.109 kB / 0.6619 GB, free: 2.727 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.8695, allocations: 45.69 kB / 0.662 GB, free: 2.676 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.8696, allocations: 0 / 0.662 GB, free: 2.676 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.8696, allocations: 0 / 0.662 GB, free: 2.676 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8696, allocations: 4 kB / 0.662 GB, free: 2.672 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.968e-05/0.8697, allocations: 15.98 kB / 0.662 GB, free: 2.656 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.884, allocations: 6.957 MB / 0.6688 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.8843, allocations: 46.62 kB / 0.6688 GB, free: 11.59 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.572e-05/0.8844, allocations: 24.78 kB / 0.6688 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.8844, allocations: 0 / 0.6688 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.8847, allocations: 67.39 kB / 0.6689 GB, free: 11.49 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 2.395e-06/0.8847, allocations: 0 / 0.6689 GB, free: 11.49 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.004592/0.8893, allocations: 2.351 MB / 0.6712 GB, free: 9.102 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.8894, allocations: 55.41 kB / 0.6712 GB, free: 9.035 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04856/0.9379, allocations: 25.35 MB / 0.696 GB, free: 15.89 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.938, allocations: 25.7 kB / 0.696 GB, free: 15.86 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01459/0.9526, allocations: 11.35 MB / 0.7071 GB, free: 4.5 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.9528, allocations: 15.83 kB / 0.7071 GB, free: 4.484 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.9529, allocations: 25.61 kB / 0.7072 GB, free: 4.453 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.9531, allocations: 310 kB / 0.7075 GB, free: 4.145 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.9533, allocations: 15.98 kB / 0.7075 GB, free: 4.129 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.715e-05/0.9533, allocations: 29.7 kB / 0.7075 GB, free: 4.094 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.9535, allocations: 49.64 kB / 0.7075 GB, free: 4.039 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.9535, allocations: 0 / 0.7075 GB, free: 4.039 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.005018/0.9585, allocations: 2.34 MB / 0.7098 GB, free: 1.664 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.9586, allocations: 7.938 kB / 0.7098 GB, free: 1.656 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9586, allocations: 3.938 kB / 0.7098 GB, free: 1.652 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.9586, allocations: 7.938 kB / 0.7098 GB, free: 1.645 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.9587, allocations: 11.98 kB / 0.7099 GB, free: 1.633 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9587, allocations: 0 / 0.7099 GB, free: 1.633 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/0.9616, allocations: 71.98 kB / 0.7099 GB, free: 1.562 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.9616, allocations: 8.031 kB / 0.7099 GB, free: 1.555 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.01084/0.9725, allocations: 4.763 MB / 0.7146 GB, free: 12.78 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006056/0.9785, allocations: 2.326 MB / 0.7169 GB, free: 10.42 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006915/0.9855, allocations: 2.569 MB / 0.7194 GB, free: 7.852 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.9855, allocations: 0 / 0.7194 GB, free: 7.852 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.9855, allocations: 0 / 0.7194 GB, free: 7.852 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.9855, allocations: 0 / 0.7194 GB, free: 7.852 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/1.003, allocations: 7.618 MB / 0.7268 GB, free: 188 kB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.003, allocations: 0 / 0.7268 GB, free: 188 kB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/1.003, allocations: 4 kB / 0.7268 GB, free: 184 kB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/1.003, allocations: 7.984 kB / 0.7268 GB, free: 176 kB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/1.003, allocations: 0 / 0.7268 GB, free: 176 kB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/1.003, allocations: 3.938 kB / 0.7268 GB, free: 172 kB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.003, allocations: 4 kB / 0.7268 GB, free: 168 kB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006409/1.009, allocations: 2.567 MB / 0.7293 GB, free: 13.55 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004884/1.014, allocations: 1.792 MB / 0.7311 GB, free: 11.71 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002586/1.017, allocations: 68 kB / 0.7311 GB, free: 11.64 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/1.019, allocations: 71.98 kB / 0.7312 GB, free: 11.57 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/1.019, allocations: 0 / 0.7312 GB, free: 11.57 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/1.019, allocations: 4 kB / 0.7312 GB, free: 11.57 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03586/1.055, allocations: 17.51 MB / 0.7483 GB, free: 10.21 MB / 0.592 GB Notification: Performance of sort global known variables: time 9.52e-07/1.055, allocations: 0 / 0.7483 GB, free: 10.21 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.005661/1.061, allocations: 0.6211 MB / 0.7489 GB, free: 9.59 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.001343/1.062, allocations: 426.1 kB / 0.7493 GB, free: 9.324 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0003236/1.063, allocations: 43.92 kB / 0.7494 GB, free: 9.281 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.063, allocations: 0 / 0.7494 GB, free: 9.281 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/1.063, allocations: 20 kB / 0.7494 GB, free: 9.262 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01041/1.073, allocations: 1.726 MB / 0.7511 GB, free: 7.535 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6803/1.753, allocations: 35.14 MB / 0.7854 GB, free: 150.8 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01599/1.769, allocations: 8.925 MB / 0.7941 GB, free: 145.9 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01574/1.785, allocations: 5.676 MB / 0.7997 GB, free: 140.4 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00406/1.789, allocations: 2.213 MB / 0.8018 GB, free: 138.2 MB / 0.5923 GB Notification: Performance of SimCode: time 1.002e-06/1.789, allocations: 0 / 0.8018 GB, free: 138.2 MB / 0.5923 GB Notification: Performance of Templates: time 0.1747/1.964, allocations: 60.91 MB / 0.8613 GB, free: 77.3 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches