Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 108.6 kB / 17.69 MB, free: 5.445 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.001761/0.001761, allocations: 191 kB / 18.63 MB, free: 4.512 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.339/1.339, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.028/1.028, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.14 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4676, allocations: 80.68 MB / 0.5712 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002331/0.47, allocations: 1.409 MB / 0.5725 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.4709, allocations: 0.5736 MB / 0.5731 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.471, allocations: 0 / 0.5731 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.4713, allocations: 231.6 kB / 0.5733 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.4718, allocations: 273.7 kB / 0.5736 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.472, allocations: 80.75 kB / 0.5737 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004463/0.4725, allocations: 0.5974 MB / 0.5742 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.4725, allocations: 2.562 kB / 0.5742 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.4728, allocations: 307.8 kB / 0.5745 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.4732, allocations: 0.5323 MB / 0.5751 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.863e-05/0.4733, allocations: 34.78 kB / 0.5751 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.4735, allocations: 115.4 kB / 0.5752 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.4746, allocations: 1.254 MB / 0.5764 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.4749, allocations: 0.7203 MB / 0.5771 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.4761, allocations: 1.625 MB / 0.5787 GB, free: 38.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4762, allocations: 0.9062 kB / 0.5787 GB, free: 38.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4762, allocations: 3.984 kB / 0.5787 GB, free: 38.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.095e-05/0.4762, allocations: 0 / 0.5787 GB, free: 38.73 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.002535/0.4787, allocations: 2.766 MB / 0.5814 GB, free: 36.57 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4788, allocations: 8.844 kB / 0.5814 GB, free: 36.57 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.479, allocations: 284.7 kB / 0.5817 GB, free: 36.41 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/0.4835, allocations: 3.329 MB / 0.5849 GB, free: 34.38 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4836, allocations: 2 kB / 0.5849 GB, free: 34.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.4836, allocations: 10.22 kB / 0.585 GB, free: 34.38 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.4838, allocations: 151.5 kB / 0.5851 GB, free: 34.3 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4838, allocations: 0 / 0.5851 GB, free: 34.3 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.4839, allocations: 9.312 kB / 0.5851 GB, free: 34.3 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4839, allocations: 0 / 0.5851 GB, free: 34.3 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.484, allocations: 72.81 kB / 0.5852 GB, free: 34.29 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.4848, allocations: 1.01 MB / 0.5862 GB, free: 33.62 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.485, allocations: 68.45 kB / 0.5862 GB, free: 33.59 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.49e-05/0.4851, allocations: 63.83 kB / 0.5863 GB, free: 33.56 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.4851, allocations: 5.188 kB / 0.5863 GB, free: 33.56 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.4853, allocations: 178.4 kB / 0.5865 GB, free: 33.43 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.4853, allocations: 3.938 kB / 0.5865 GB, free: 33.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0007322/0.486, allocations: 0.6525 MB / 0.5871 GB, free: 32.96 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.4861, allocations: 89.09 kB / 0.5872 GB, free: 32.86 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.4885, allocations: 3.185 MB / 0.5903 GB, free: 29.7 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.4885, allocations: 37.64 kB / 0.5903 GB, free: 29.65 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007073/0.4892, allocations: 1.232 MB / 0.5915 GB, free: 28.42 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.4893, allocations: 27.8 kB / 0.5916 GB, free: 28.39 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.4894, allocations: 81.66 kB / 0.5916 GB, free: 28.3 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.4894, allocations: 310 kB / 0.5919 GB, free: 28 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.4895, allocations: 52 kB / 0.592 GB, free: 27.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.267e-05/0.4896, allocations: 47.98 kB / 0.592 GB, free: 27.9 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.4897, allocations: 160.3 kB / 0.5922 GB, free: 27.73 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4897, allocations: 0 / 0.5922 GB, free: 27.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004737/0.4902, allocations: 0.6127 MB / 0.5928 GB, free: 27.1 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4903, allocations: 33.7 kB / 0.5928 GB, free: 27.06 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.4903, allocations: 0 / 0.5928 GB, free: 27.06 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4903, allocations: 0 / 0.5928 GB, free: 27.06 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.4903, allocations: 11.98 kB / 0.5928 GB, free: 27.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4904, allocations: 3.984 kB / 0.5928 GB, free: 27.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.4906, allocations: 15.94 kB / 0.5929 GB, free: 27.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.4907, allocations: 112 kB / 0.593 GB, free: 26.92 MB / 462.3 MB 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.0005752/0.4912, allocations: 0.7439 MB / 0.5937 GB, free: 26.16 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.4914, allocations: 300.2 kB / 0.594 GB, free: 25.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.4917, allocations: 341.8 kB / 0.5943 GB, free: 25.52 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4917, allocations: 96 / 0.5943 GB, free: 25.52 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4917, allocations: 3.938 kB / 0.5943 GB, free: 25.52 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4917, allocations: 0 / 0.5943 GB, free: 25.52 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.4924, allocations: 1.089 MB / 0.5954 GB, free: 24.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4925, allocations: 4 kB / 0.5954 GB, free: 24.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.4925, allocations: 11.88 kB / 0.5954 GB, free: 24.37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4925, allocations: 0 / 0.5954 GB, free: 24.37 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.4925, allocations: 27.98 kB / 0.5954 GB, free: 24.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4925, allocations: 0 / 0.5954 GB, free: 24.34 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4925, allocations: 4 kB / 0.5954 GB, free: 24.34 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.4931, allocations: 0.6689 MB / 0.5961 GB, free: 23.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.4935, allocations: 337.3 kB / 0.5964 GB, free: 23.29 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.4936, allocations: 8 kB / 0.5964 GB, free: 23.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.4938, allocations: 19.94 kB / 0.5964 GB, free: 23.27 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.4939, allocations: 4 kB / 0.5964 GB, free: 23.26 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.126e-05/0.494, allocations: 120 kB / 0.5965 GB, free: 23.14 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001784/0.4957, allocations: 2.203 MB / 0.5987 GB, free: 20.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4957, allocations: 0 / 0.5987 GB, free: 20.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003528/0.4961, allocations: 104 kB / 0.5988 GB, free: 20.86 MB / 462.3 MB 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.0001416/0.4963, allocations: 139.6 kB / 0.5989 GB, free: 20.71 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.4965, allocations: 211.4 kB / 0.5991 GB, free: 20.5 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4965, allocations: 0 / 0.5991 GB, free: 20.5 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.4967, allocations: 147.4 kB / 0.5993 GB, free: 20.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.4973, allocations: 222.3 kB / 0.5995 GB, free: 20.12 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.5008, allocations: 4.164 MB / 0.6035 GB, free: 15.92 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/0.5017, allocations: 1.691 MB / 0.6052 GB, free: 14.2 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0009248/0.5026, allocations: 0.5962 MB / 0.6058 GB, free: 13.6 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.5027, allocations: 135.4 kB / 0.6059 GB, free: 13.46 MB / 462.3 MB Notification: Performance of SimCode: time 5.01e-07/0.5028, allocations: 0 / 0.6059 GB, free: 13.46 MB / 462.3 MB Notification: Performance of Templates: time 0.01994/0.5227, allocations: 10.67 MB / 0.6163 GB, free: 2.754 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches