Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008048/0.0008049, allocations: 92.8 kB / 16.65 MB, free: 6.59 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.0008353/0.0008353, allocations: 188.9 kB / 17.57 MB, free: 6.199 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.117/1.117, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7231/0.7231, allocations: 120.5 MB / 413.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002508/0.0002509, allocations: 8 kB / 0.4949 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3909, allocations: 82.83 MB / 0.5758 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.0009821/0.3919, allocations: 1.14 MB / 0.5769 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006754/0.3926, allocations: 0.5798 MB / 0.5775 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.3927, allocations: 5.406 kB / 0.5775 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0008347/0.3935, allocations: 1.712 MB / 0.5791 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0009631/0.3945, allocations: 1.753 MB / 0.5809 GB, free: 38.85 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.3947, allocations: 64.08 kB / 0.5809 GB, free: 38.81 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.3971, allocations: 4.296 MB / 0.5851 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.3971, allocations: 6.516 kB / 0.5851 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3981, allocations: 2.135 MB / 0.5872 GB, free: 34.6 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.3998, allocations: 3.822 MB / 0.5909 GB, free: 30.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003442/0.4001, allocations: 252 kB / 0.5912 GB, free: 30.52 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.4005, allocations: 319.9 kB / 0.5915 GB, free: 30.21 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.005245/0.4058, allocations: 9.954 MB / 0.6012 GB, free: 20.23 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.4079, allocations: 5.661 MB / 0.6067 GB, free: 14.51 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004341/0.4122, allocations: 11.87 MB / 0.6183 GB, free: 2.574 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4123, allocations: 0 / 0.6183 GB, free: 2.574 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4123, allocations: 0 / 0.6183 GB, free: 2.574 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.859e-05/0.4124, allocations: 0 / 0.6183 GB, free: 2.574 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01422/0.4266, allocations: 17.23 MB / 0.6351 GB, free: 1.145 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4266, allocations: 12.03 kB / 0.6352 GB, free: 1.133 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.4283, allocations: 2.206 MB / 0.6373 GB, free: 14.89 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02967/0.458, allocations: 25.83 MB / 0.6625 GB, free: 4.875 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.458, allocations: 4.375 kB / 0.6625 GB, free: 4.871 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.4581, allocations: 64.38 kB / 0.6626 GB, free: 4.809 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.4589, allocations: 0.7864 MB / 0.6634 GB, free: 4.016 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.4589, allocations: 4 kB / 0.6634 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.4591, allocations: 64 kB / 0.6634 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.4591, allocations: 0 / 0.6634 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.4596, allocations: 456 kB / 0.6639 GB, free: 3.504 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005847/0.4654, allocations: 7.003 MB / 0.6707 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.4658, allocations: 294.6 kB / 0.671 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.4662, allocations: 280.8 kB / 0.6713 GB, free: 11.88 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.4662, allocations: 4 kB / 0.6713 GB, free: 11.87 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006562/0.4669, allocations: 0.7035 MB / 0.6719 GB, free: 11.15 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.4669, allocations: 0 / 0.6719 GB, free: 11.15 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.003898/0.4708, allocations: 4.232 MB / 0.6761 GB, free: 6.875 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.4709, allocations: 85.11 kB / 0.6762 GB, free: 6.773 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02316/0.494, allocations: 24.84 MB / 0.7004 GB, free: 14.14 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.4942, allocations: 85.7 kB / 0.7005 GB, free: 14.05 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.008058/0.5023, allocations: 10.83 MB / 0.7111 GB, free: 3.211 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.5024, allocations: 71.81 kB / 0.7111 GB, free: 3.141 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.5026, allocations: 85.7 kB / 0.7112 GB, free: 3.051 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.5027, allocations: 306 kB / 0.7115 GB, free: 2.746 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.503, allocations: 264 kB / 0.7118 GB, free: 2.488 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.5034, allocations: 272 kB / 0.712 GB, free: 2.223 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007909/0.5042, allocations: 0.5979 MB / 0.7126 GB, free: 1.609 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5042, allocations: 0 / 0.7126 GB, free: 1.609 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00373/0.5079, allocations: 3.97 MB / 0.7165 GB, free: 13.59 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.508, allocations: 44.14 kB / 0.7165 GB, free: 13.55 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.508, allocations: 0 / 0.7165 GB, free: 13.55 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.508, allocations: 0 / 0.7165 GB, free: 13.55 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.5081, allocations: 7.938 kB / 0.7165 GB, free: 13.54 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.5081, allocations: 0 / 0.7165 GB, free: 13.54 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.5094, allocations: 71.94 kB / 0.7166 GB, free: 13.47 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005855/0.51, allocations: 0.8594 MB / 0.7174 GB, free: 12.61 MB / 0.5608 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.004792/0.5148, allocations: 4.901 MB / 0.7222 GB, free: 7.691 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/0.5164, allocations: 2.271 MB / 0.7245 GB, free: 5.391 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.5186, allocations: 2.561 MB / 0.727 GB, free: 2.82 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5186, allocations: 7.984 kB / 0.727 GB, free: 2.812 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5186, allocations: 0 / 0.727 GB, free: 2.812 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.5186, allocations: 0 / 0.727 GB, free: 2.812 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006091/0.5247, allocations: 7.617 MB / 0.7344 GB, free: 11.14 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5247, allocations: 0 / 0.7344 GB, free: 11.14 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.5247, allocations: 11.94 kB / 0.7344 GB, free: 11.13 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5248, allocations: 0 / 0.7344 GB, free: 11.13 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/0.5249, allocations: 192 kB / 0.7346 GB, free: 10.95 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5249, allocations: 0 / 0.7346 GB, free: 10.95 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5249, allocations: 0 / 0.7346 GB, free: 10.95 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/0.5283, allocations: 4.166 MB / 0.7387 GB, free: 6.727 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/0.5303, allocations: 1.983 MB / 0.7406 GB, free: 4.695 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000719/0.531, allocations: 68 kB / 0.7407 GB, free: 4.629 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.5321, allocations: 68 kB / 0.7407 GB, free: 4.562 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.5321, allocations: 7.984 kB / 0.7407 GB, free: 4.555 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005767/0.5327, allocations: 0.8594 MB / 0.7416 GB, free: 3.695 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01759/0.5503, allocations: 17.24 MB / 0.7584 GB, free: 2.605 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5503, allocations: 0 / 0.7584 GB, free: 2.605 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001325/0.5517, allocations: 0.6406 MB / 0.759 GB, free: 1.965 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002532/0.5519, allocations: 179.2 kB / 0.7592 GB, free: 1.781 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0009556/0.5529, allocations: 0.6869 MB / 0.7599 GB, free: 1.082 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5529, allocations: 4 kB / 0.7599 GB, free: 1.078 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.5535, allocations: 427.3 kB / 0.7603 GB, free: 0.6484 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3576/0.9111, allocations: 1.695 MB / 0.7619 GB, free: 155.3 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/0.9445, allocations: 39.02 MB / 0.8001 GB, free: 131.3 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005764/0.9503, allocations: 8.914 MB / 0.8088 GB, free: 122.4 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.008627/0.959, allocations: 4.698 MB / 0.8133 GB, free: 117.7 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/0.9597, allocations: 0.9877 MB / 0.8143 GB, free: 116.7 MB / 0.5923 GB Notification: Performance of SimCode: time 7.72e-07/0.9597, allocations: 0 / 0.8143 GB, free: 116.7 MB / 0.5923 GB Notification: Performance of Templates: time 0.1374/1.097, allocations: 81.25 MB / 0.8937 GB, free: 35.32 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches