Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 89.02 kB / 16.65 MB, free: 6.535 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.001275/0.001275, allocations: 176.7 kB / 17.56 MB, free: 6.18 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.382/1.382, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.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: 120.5 MB / 413.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003443, allocations: 8 kB / 0.4949 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6002/0.6006, allocations: 82.84 MB / 0.5758 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.001707/0.6023, allocations: 1.29 MB / 0.5771 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.6035, allocations: 0.8678 MB / 0.5779 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.6036, allocations: 1.375 kB / 0.5779 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004827/0.6084, allocations: 6.88 MB / 0.5846 GB, free: 36.75 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.6104, allocations: 3.502 MB / 0.588 GB, free: 33.74 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.6107, allocations: 90.83 kB / 0.5881 GB, free: 33.65 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004998/0.6157, allocations: 8.578 MB / 0.5965 GB, free: 25.06 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.877e-05/0.6158, allocations: 8 kB / 0.5965 GB, free: 25.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005258/0.6211, allocations: 4.266 MB / 0.6007 GB, free: 20.78 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008172/0.6293, allocations: 7.6 MB / 0.6081 GB, free: 13.17 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.6308, allocations: 0.4922 MB / 0.6086 GB, free: 12.68 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000879/0.6316, allocations: 0.5195 MB / 0.6091 GB, free: 12.16 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01546/0.6471, allocations: 19.92 MB / 0.6285 GB, free: 8.188 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0184/0.6655, allocations: 11.28 MB / 0.6396 GB, free: 12.78 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02767/0.6933, allocations: 23.64 MB / 0.6626 GB, free: 5.004 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.6933, allocations: 0 / 0.6626 GB, free: 5.004 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6933, allocations: 3.938 kB / 0.6626 GB, free: 5 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001197/0.6945, allocations: 3.938 kB / 0.6627 GB, free: 4.996 MB / 0.4983 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.05037/0.7449, allocations: 34.11 MB / 0.696 GB, free: 2.547 MB / 0.5296 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.745, allocations: 12.03 kB / 0.696 GB, free: 2.535 MB / 0.5296 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008831/0.7538, allocations: 4.407 MB / 0.7003 GB, free: 14.07 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1196/0.8735, allocations: 51.59 MB / 0.7507 GB, free: 10.13 MB / 0.5921 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.8736, allocations: 12.34 kB / 0.7507 GB, free: 10.12 MB / 0.5921 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.8736, allocations: 8.062 kB / 0.7507 GB, free: 10.11 MB / 0.5921 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.8737, allocations: 41.69 kB / 0.7507 GB, free: 10.06 MB / 0.5921 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.8738, allocations: 4 kB / 0.7507 GB, free: 10.06 MB / 0.5921 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.8738, allocations: 3.984 kB / 0.7507 GB, free: 10.05 MB / 0.5921 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.8738, allocations: 0 / 0.7507 GB, free: 10.05 MB / 0.5921 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.8739, allocations: 15.94 kB / 0.7507 GB, free: 10.04 MB / 0.5921 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6817/1.556, allocations: 13.74 MB / 0.7642 GB, free: 129.7 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/1.556, allocations: 50.94 kB / 0.7642 GB, free: 129.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/1.556, allocations: 20.3 kB / 0.7642 GB, free: 129.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/1.556, allocations: 2.828 kB / 0.7642 GB, free: 129.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/1.556, allocations: 71.36 kB / 0.7643 GB, free: 129.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 5.35e-06/1.556, allocations: 0 / 0.7643 GB, free: 129.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.01406/1.571, allocations: 4.603 MB / 0.7688 GB, free: 129.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/1.571, allocations: 52.78 kB / 0.7688 GB, free: 129.5 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09048/1.661, allocations: 50.58 MB / 0.8182 GB, free: 98.59 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/1.661, allocations: 25.7 kB / 0.8183 GB, free: 98.56 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02071/1.682, allocations: 23.58 MB / 0.8413 GB, free: 74.97 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/1.682, allocations: 12.75 kB / 0.8413 GB, free: 74.96 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/1.682, allocations: 13.72 kB / 0.8413 GB, free: 74.95 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/1.682, allocations: 314 kB / 0.8416 GB, free: 74.63 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/1.682, allocations: 15.52 kB / 0.8416 GB, free: 74.62 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/1.682, allocations: 25.7 kB / 0.8416 GB, free: 74.59 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.594e-05/1.682, allocations: 52.64 kB / 0.8417 GB, free: 74.54 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.682, allocations: 2.438 kB / 0.8417 GB, free: 74.54 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.007543/1.69, allocations: 4.594 MB / 0.8462 GB, free: 72.38 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.69, allocations: 8 kB / 0.8462 GB, free: 72.37 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.69, allocations: 0 / 0.8462 GB, free: 72.37 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.69, allocations: 0 / 0.8462 GB, free: 72.37 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/1.69, allocations: 14.98 kB / 0.8462 GB, free: 72.36 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.69, allocations: 4 kB / 0.8462 GB, free: 72.36 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008205/1.698, allocations: 135.9 kB / 0.8463 GB, free: 72.22 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/1.698, allocations: 0 / 0.8463 GB, free: 72.22 MB / 0.5923 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.01501/1.713, allocations: 9.399 MB / 0.8555 GB, free: 62.81 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00998/1.723, allocations: 4.648 MB / 0.8601 GB, free: 58.1 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/1.739, allocations: 5.121 MB / 0.8651 GB, free: 52.97 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.739, allocations: 7.609 kB / 0.8651 GB, free: 52.97 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.739, allocations: 0.75 kB / 0.8651 GB, free: 52.97 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.739, allocations: 3.938 kB / 0.8651 GB, free: 52.96 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04404/1.783, allocations: 15.08 MB / 0.8798 GB, free: 37.82 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.783, allocations: 320 / 0.8798 GB, free: 37.82 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/1.783, allocations: 11.94 kB / 0.8798 GB, free: 37.8 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/1.783, allocations: 0 / 0.8798 GB, free: 37.8 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/1.783, allocations: 3 kB / 0.8798 GB, free: 37.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.783, allocations: 0 / 0.8798 GB, free: 37.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.783, allocations: 5.203 kB / 0.8798 GB, free: 37.8 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.793, allocations: 5.032 MB / 0.8847 GB, free: 32.69 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008417/1.802, allocations: 3.872 MB / 0.8885 GB, free: 28.74 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00589/1.808, allocations: 131 kB / 0.8886 GB, free: 28.62 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006624/1.814, allocations: 132 kB / 0.8888 GB, free: 28.49 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/1.814, allocations: 3.938 kB / 0.8888 GB, free: 28.48 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/1.815, allocations: 4 kB / 0.8888 GB, free: 28.48 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06797/1.882, allocations: 35.01 MB / 0.923 GB, free: 9.777 MB / 0.6079 GB Notification: Performance of sort global known variables: time 1.362e-06/1.883, allocations: 0 / 0.923 GB, free: 9.777 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.006811/1.889, allocations: 1.239 MB / 0.9242 GB, free: 8.539 MB / 0.6079 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.001106/1.89, allocations: 420.2 kB / 0.9246 GB, free: 8.309 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0002266/1.891, allocations: 35.98 kB / 0.9246 GB, free: 8.273 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.891, allocations: 0 / 0.9246 GB, free: 8.273 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/1.891, allocations: 20 kB / 0.9246 GB, free: 8.254 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01265/1.903, allocations: 3.399 MB / 0.9279 GB, free: 4.855 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1307/2.034, allocations: 79.42 MB / 1.005 GB, free: 5.836 MB / 0.6861 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03312/2.067, allocations: 17.34 MB / 1.022 GB, free: 4.445 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.3804/2.448, allocations: 11.3 MB / 1.033 GB, free: 208.1 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01233/2.46, allocations: 4.405 MB / 1.038 GB, free: 207.3 MB / 0.7017 GB Notification: Performance of SimCode: time 2.415e-06/2.46, allocations: 0.75 kB / 1.038 GB, free: 207.3 MB / 0.7017 GB Notification: Performance of Templates: time 0.3417/2.802, allocations: 120.5 MB / 1.155 GB, free: 122.6 MB / 0.7017 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches