Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.0009184, allocations: 88.86 kB / 16.3 MB, free: 5.656 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.0009647/0.0009648, allocations: 185.1 kB / 17.19 MB, free: 5.59 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.231/1.231, allocations: 223.2 MB / 241.1 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8546/0.8546, allocations: 120.5 MB / 412.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 8 kB / 0.4942 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.477, allocations: 82.83 MB / 0.5751 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001204/0.4783, allocations: 1.118 MB / 0.5761 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.479, allocations: 0.5262 MB / 0.5767 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.4791, allocations: 0 / 0.5767 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.4795, allocations: 495.8 kB / 0.5771 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.48, allocations: 0.5154 MB / 0.5776 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.4802, allocations: 62.41 kB / 0.5777 GB, free: 39.67 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.4807, allocations: 0.767 MB / 0.5784 GB, free: 39.19 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.4807, allocations: 6.234 kB / 0.5785 GB, free: 39.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.4812, allocations: 0.5842 MB / 0.579 GB, free: 38.92 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/0.4822, allocations: 1.039 MB / 0.58 GB, free: 38.49 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.4824, allocations: 63.62 kB / 0.5801 GB, free: 38.49 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.4826, allocations: 126.3 kB / 0.5802 GB, free: 38.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002115/0.4848, allocations: 2.329 MB / 0.5825 GB, free: 37.42 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.4852, allocations: 0.52 MB / 0.583 GB, free: 37.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.487, allocations: 2.304 MB / 0.5852 GB, free: 35.74 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.487, allocations: 0 / 0.5852 GB, free: 35.74 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.433e-06/0.487, allocations: 0 / 0.5852 GB, free: 35.74 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.971e-05/0.4871, allocations: 0 / 0.5852 GB, free: 35.74 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.004636/0.4917, allocations: 4.64 MB / 0.5898 GB, free: 31.23 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4918, allocations: 12.03 kB / 0.5898 GB, free: 31.22 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/0.4924, allocations: 0.559 MB / 0.5903 GB, free: 30.66 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00894/0.5014, allocations: 6.221 MB / 0.5964 GB, free: 24.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5014, allocations: 0 / 0.5964 GB, free: 24.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.5015, allocations: 20 kB / 0.5964 GB, free: 24.34 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.5018, allocations: 237.5 kB / 0.5967 GB, free: 24.1 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.5018, allocations: 0 / 0.5967 GB, free: 24.1 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.5018, allocations: 16 kB / 0.5967 GB, free: 24.09 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5018, allocations: 3.953 kB / 0.5967 GB, free: 24.08 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.502, allocations: 136 kB / 0.5968 GB, free: 23.95 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.504, allocations: 1.858 MB / 0.5986 GB, free: 22.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.5041, allocations: 106.5 kB / 0.5987 GB, free: 21.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.5042, allocations: 4 kB / 0.5987 GB, free: 21.93 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.5045, allocations: 256.9 kB / 0.599 GB, free: 21.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 2.254e-06/0.5045, allocations: 0 / 0.599 GB, free: 21.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001124/0.5056, allocations: 1.236 MB / 0.6002 GB, free: 20.38 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.5056, allocations: 93 kB / 0.6003 GB, free: 20.27 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007051/0.5127, allocations: 6.263 MB / 0.6064 GB, free: 14.05 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/0.5128, allocations: 41.7 kB / 0.6064 GB, free: 14.01 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.5146, allocations: 2.52 MB / 0.6089 GB, free: 11.48 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.947e-05/0.5147, allocations: 39.64 kB / 0.6089 GB, free: 11.45 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.5148, allocations: 20 kB / 0.6089 GB, free: 11.43 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.5148, allocations: 306 kB / 0.6092 GB, free: 11.12 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.5149, allocations: 76 kB / 0.6093 GB, free: 11.05 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.5151, allocations: 83.98 kB / 0.6094 GB, free: 10.96 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.5152, allocations: 113.7 kB / 0.6095 GB, free: 10.85 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5152, allocations: 0 / 0.6095 GB, free: 10.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001031/0.5162, allocations: 1.09 MB / 0.6106 GB, free: 9.738 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.5163, allocations: 36.2 kB / 0.6106 GB, free: 9.699 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5163, allocations: 8.031 kB / 0.6106 GB, free: 9.691 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.5163, allocations: 3.984 kB / 0.6106 GB, free: 9.688 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.748e-05/0.5164, allocations: 4 kB / 0.6106 GB, free: 9.684 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5164, allocations: 0 / 0.6106 GB, free: 9.684 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.517, allocations: 27.94 kB / 0.6106 GB, free: 9.656 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.5171, allocations: 224 kB / 0.6108 GB, free: 9.438 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001812/0.5189, allocations: 1.335 MB / 0.6122 GB, free: 8.086 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003938/0.5193, allocations: 0.5708 MB / 0.6127 GB, free: 7.508 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006851/0.52, allocations: 0.648 MB / 0.6133 GB, free: 6.852 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.52, allocations: 0 / 0.6133 GB, free: 6.852 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.5201, allocations: 0 / 0.6133 GB, free: 6.852 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5201, allocations: 0 / 0.6133 GB, free: 6.852 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.5215, allocations: 2.026 MB / 0.6153 GB, free: 4.777 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5215, allocations: 4 kB / 0.6153 GB, free: 4.773 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.5215, allocations: 4 kB / 0.6153 GB, free: 4.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5215, allocations: 3.938 kB / 0.6153 GB, free: 4.766 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/0.5216, allocations: 55.98 kB / 0.6154 GB, free: 4.711 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5216, allocations: 0 / 0.6154 GB, free: 4.711 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5216, allocations: 3.938 kB / 0.6154 GB, free: 4.707 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.5225, allocations: 1.164 MB / 0.6165 GB, free: 3.512 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007075/0.5232, allocations: 0.5601 MB / 0.6171 GB, free: 2.926 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.5235, allocations: 20 kB / 0.6171 GB, free: 2.906 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.5238, allocations: 28 kB / 0.6171 GB, free: 2.879 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.5239, allocations: 3.984 kB / 0.6171 GB, free: 2.875 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.524, allocations: 224 kB / 0.6173 GB, free: 2.656 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005144/0.5292, allocations: 4.309 MB / 0.6215 GB, free: 14.39 MB / 478.3 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5292, allocations: 0 / 0.6215 GB, free: 14.39 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0006334/0.5298, allocations: 188 kB / 0.6217 GB, free: 14.2 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002187/0.5301, allocations: 146.5 kB / 0.6219 GB, free: 14.05 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.5305, allocations: 275.3 kB / 0.6221 GB, free: 13.77 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5305, allocations: 4 kB / 0.6221 GB, free: 13.77 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.5307, allocations: 187.4 kB / 0.6223 GB, free: 13.57 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008136/0.5316, allocations: 433 kB / 0.6227 GB, free: 13.15 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.5425, allocations: 8.934 MB / 0.6314 GB, free: 4.184 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/0.5452, allocations: 2.818 MB / 0.6342 GB, free: 1.34 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002759/0.548, allocations: 1.137 MB / 0.6353 GB, free: 200 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.5483, allocations: 259.5 kB / 0.6356 GB, free: 15.93 MB / 494.3 MB Notification: Performance of SimCode: time 2.395e-06/0.5483, allocations: 0 / 0.6356 GB, free: 15.93 MB / 494.3 MB Notification: Performance of Templates: time 0.04858/0.5969, allocations: 20.33 MB / 0.6554 GB, free: 11.49 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches