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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 112.6 kB / 17.7 MB, free: 5.41 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.001068/0.001068, allocations: 190.9 kB / 18.63 MB, free: 4.477 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.457/1.457, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.333/1.333, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6752, allocations: 80.69 MB / 0.5712 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.003115/0.6783, allocations: 1.577 MB / 0.5727 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.6797, allocations: 0.8883 MB / 0.5736 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.6798, allocations: 1.281 kB / 0.5736 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005101/0.6849, allocations: 6.88 MB / 0.5803 GB, free: 38.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.688, allocations: 3.509 MB / 0.5837 GB, free: 36.33 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.6885, allocations: 105.8 kB / 0.5838 GB, free: 36.26 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007114/0.6956, allocations: 8.587 MB / 0.5922 GB, free: 27.96 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.491e-05/0.6958, allocations: 15.97 kB / 0.5922 GB, free: 27.94 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007403/0.7032, allocations: 4.266 MB / 0.5964 GB, free: 23.67 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01419/0.7174, allocations: 8.096 MB / 0.6043 GB, free: 15.56 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004854/0.7223, allocations: 0.4921 MB / 0.6048 GB, free: 15.07 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.7254, allocations: 0.5156 MB / 0.6053 GB, free: 14.55 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01934/0.7448, allocations: 19.91 MB / 0.6247 GB, free: 10.59 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02179/0.7667, allocations: 11.26 MB / 0.6357 GB, free: 15.2 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03231/0.799, allocations: 24.75 MB / 0.6599 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.7991, allocations: 0 / 0.6599 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.886e-06/0.7991, allocations: 0 / 0.6599 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001089/0.8002, allocations: 0 / 0.6599 GB, free: 6.32 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.07128/0.8715, allocations: 38.76 MB / 0.6977 GB, free: 15.16 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.8715, allocations: 11.89 kB / 0.6978 GB, free: 15.14 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008058/0.8796, allocations: 4.407 MB / 0.7021 GB, free: 10.68 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1438/1.023, allocations: 51.59 MB / 0.7524 GB, free: 6.738 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/1.024, allocations: 384 / 0.7524 GB, free: 6.738 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/1.024, allocations: 4.125 kB / 0.7524 GB, free: 6.734 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/1.024, allocations: 53.52 kB / 0.7525 GB, free: 6.68 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.024, allocations: 0 / 0.7525 GB, free: 6.68 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.024, allocations: 4 kB / 0.7525 GB, free: 6.676 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.024, allocations: 0 / 0.7525 GB, free: 6.676 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/1.024, allocations: 11.98 kB / 0.7525 GB, free: 6.664 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6168/1.641, allocations: 13.74 MB / 0.7659 GB, free: 136.8 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/1.641, allocations: 54.25 kB / 0.766 GB, free: 136.8 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/1.641, allocations: 21.16 kB / 0.766 GB, free: 136.8 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/1.641, allocations: 1.438 kB / 0.766 GB, free: 136.8 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/1.641, allocations: 70.53 kB / 0.7661 GB, free: 136.7 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 3.015e-06/1.641, allocations: 0 / 0.7661 GB, free: 136.7 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.0125/1.654, allocations: 4.607 MB / 0.7706 GB, free: 136.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.654, allocations: 52.34 kB / 0.7706 GB, free: 136.6 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09205/1.746, allocations: 50.58 MB / 0.82 GB, free: 108.5 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/1.746, allocations: 25.7 kB / 0.82 GB, free: 108.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02198/1.768, allocations: 23.58 MB / 0.8431 GB, free: 84.89 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/1.768, allocations: 13.78 kB / 0.8431 GB, free: 84.89 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.018e-05/1.768, allocations: 27.67 kB / 0.8431 GB, free: 84.86 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.852e-05/1.768, allocations: 310 kB / 0.8434 GB, free: 84.55 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.08e-05/1.768, allocations: 15.98 kB / 0.8434 GB, free: 84.54 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.016e-05/1.768, allocations: 29.64 kB / 0.8434 GB, free: 84.5 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/1.769, allocations: 55.08 kB / 0.8435 GB, free: 84.45 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.769, allocations: 2.25 kB / 0.8435 GB, free: 84.45 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.007724/1.776, allocations: 4.587 MB / 0.848 GB, free: 82.3 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/1.776, allocations: 4 kB / 0.848 GB, free: 82.3 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.776, allocations: 4 kB / 0.848 GB, free: 82.29 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/1.776, allocations: 0 / 0.848 GB, free: 82.29 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/1.777, allocations: 23.19 kB / 0.848 GB, free: 82.28 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.777, allocations: 3.938 kB / 0.848 GB, free: 82.27 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009387/1.786, allocations: 128 kB / 0.8481 GB, free: 82.15 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/1.786, allocations: 4 kB / 0.8481 GB, free: 82.14 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.01609/1.802, allocations: 9.395 MB / 0.8573 GB, free: 72.73 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01039/1.812, allocations: 4.644 MB / 0.8618 GB, free: 68.03 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/1.826, allocations: 5.126 MB / 0.8668 GB, free: 62.89 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.826, allocations: 0 / 0.8668 GB, free: 62.89 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/1.826, allocations: 3.938 kB / 0.8669 GB, free: 62.89 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/1.826, allocations: 1.078 kB / 0.8669 GB, free: 62.89 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03832/1.864, allocations: 15.09 MB / 0.8816 GB, free: 47.74 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.864, allocations: 0 / 0.8816 GB, free: 47.74 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/1.864, allocations: 4.938 kB / 0.8816 GB, free: 47.73 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/1.864, allocations: 0 / 0.8816 GB, free: 47.73 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.865, allocations: 8.953 kB / 0.8816 GB, free: 47.73 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/1.865, allocations: 4 kB / 0.8816 GB, free: 47.73 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.865, allocations: 3.938 kB / 0.8816 GB, free: 47.72 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008258/1.873, allocations: 5.032 MB / 0.8865 GB, free: 42.61 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009565/1.882, allocations: 3.501 MB / 0.8899 GB, free: 39.04 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006401/1.889, allocations: 135.1 kB / 0.8901 GB, free: 38.91 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006319/1.895, allocations: 128 kB / 0.8902 GB, free: 38.78 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/1.895, allocations: 7.938 kB / 0.8902 GB, free: 38.77 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/1.895, allocations: 4 kB / 0.8902 GB, free: 38.77 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06043/1.956, allocations: 35 MB / 0.9244 GB, free: 4.07 MB / 0.5923 GB Notification: Performance of sort global known variables: time 6.01e-07/1.956, allocations: 4 kB / 0.9244 GB, free: 4.066 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.006889/1.963, allocations: 1.234 MB / 0.9256 GB, free: 2.832 MB / 0.5923 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.00111/1.964, allocations: 424.3 kB / 0.926 GB, free: 2.609 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.0002286/1.964, allocations: 39.92 kB / 0.926 GB, free: 2.57 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.964, allocations: 4 kB / 0.926 GB, free: 2.566 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/1.964, allocations: 12.12 kB / 0.9261 GB, free: 2.555 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01579/1.98, allocations: 3.402 MB / 0.9294 GB, free: 15.15 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1355/2.116, allocations: 70.61 MB / 0.9983 GB, free: 8.969 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03928/2.155, allocations: 17.35 MB / 1.015 GB, free: 7.566 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.4088/2.564, allocations: 11.3 MB / 1.026 GB, free: 204.1 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01223/2.576, allocations: 4.409 MB / 1.031 GB, free: 203.4 MB / 0.686 GB Notification: Performance of SimCode: time 2.234e-06/2.576, allocations: 0 / 1.031 GB, free: 203.4 MB / 0.686 GB Notification: Performance of Templates: time 0.554/3.13, allocations: 123.3 MB / 1.151 GB, free: 118.4 MB / 0.686 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches