Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 108.8 kB / 17.16 MB, free: 6.082 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.001057/0.001057, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.296/1.296, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.009/1.009, allocations: 119.3 MB / 411.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 0.4909 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5353/0.5365, allocations: 80.69 MB / 0.5697 GB, free: 43.54 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002582/0.5392, allocations: 1.633 MB / 0.5713 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.5403, allocations: 0.88 MB / 0.5721 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.5404, allocations: 1.594 kB / 0.5721 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.5412, allocations: 0.8939 MB / 0.573 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.5417, allocations: 0.5143 MB / 0.5735 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.5419, allocations: 83.69 kB / 0.5736 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.5428, allocations: 1.159 MB / 0.5747 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.5429, allocations: 9.391 kB / 0.5747 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.5434, allocations: 0.5714 MB / 0.5753 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007908/0.5442, allocations: 0.9879 MB / 0.5763 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.5443, allocations: 64.62 kB / 0.5763 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.5445, allocations: 91 kB / 0.5764 GB, free: 39.53 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00235/0.5469, allocations: 2.512 MB / 0.5789 GB, free: 38.29 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0008183/0.5477, allocations: 1.433 MB / 0.5803 GB, free: 37.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.5497, allocations: 2.323 MB / 0.5825 GB, free: 35.77 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5497, allocations: 0 / 0.5825 GB, free: 35.77 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.51e-07/0.5497, allocations: 0 / 0.5825 GB, free: 35.77 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.156e-05/0.5497, allocations: 0 / 0.5825 GB, free: 35.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.005364/0.5551, allocations: 5.182 MB / 0.5876 GB, free: 31.45 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5552, allocations: 8.031 kB / 0.5876 GB, free: 31.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004175/0.5556, allocations: 0.5638 MB / 0.5882 GB, free: 30.87 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00704/0.5626, allocations: 6.548 MB / 0.5945 GB, free: 24.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5627, allocations: 384 / 0.5945 GB, free: 24.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.5627, allocations: 8.109 kB / 0.5946 GB, free: 24.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.5629, allocations: 53.67 kB / 0.5946 GB, free: 24.18 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5629, allocations: 0 / 0.5946 GB, free: 24.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5629, allocations: 4 kB / 0.5946 GB, free: 24.17 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5629, allocations: 4 kB / 0.5946 GB, free: 24.17 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.789e-05/0.563, allocations: 15.94 kB / 0.5946 GB, free: 24.15 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.5643, allocations: 1.859 MB / 0.5964 GB, free: 22.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.5645, allocations: 58.61 kB / 0.5965 GB, free: 22.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.5646, allocations: 24.78 kB / 0.5965 GB, free: 22.15 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.5646, allocations: 0 / 0.5965 GB, free: 22.15 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.5648, allocations: 63.39 kB / 0.5966 GB, free: 22.08 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.5648, allocations: 0 / 0.5966 GB, free: 22.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0006162/0.5654, allocations: 0.6582 MB / 0.5972 GB, free: 21.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.5655, allocations: 51.41 kB / 0.5973 GB, free: 21.34 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005261/0.5707, allocations: 6.442 MB / 0.6036 GB, free: 14.95 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.5708, allocations: 25.7 kB / 0.6036 GB, free: 14.91 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.5724, allocations: 2.668 MB / 0.6062 GB, free: 12.24 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.5725, allocations: 7.906 kB / 0.6062 GB, free: 12.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.5725, allocations: 21.62 kB / 0.6062 GB, free: 12.21 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.5726, allocations: 318 kB / 0.6065 GB, free: 11.89 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.5726, allocations: 8 kB / 0.6065 GB, free: 11.88 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/0.5727, allocations: 33.69 kB / 0.6066 GB, free: 11.84 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.386e-05/0.5728, allocations: 49.64 kB / 0.6066 GB, free: 11.79 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5728, allocations: 0 / 0.6066 GB, free: 11.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005381/0.5733, allocations: 0.6465 MB / 0.6073 GB, free: 11.13 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5734, allocations: 4 kB / 0.6073 GB, free: 11.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5734, allocations: 4 kB / 0.6073 GB, free: 11.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5734, allocations: 0 / 0.6073 GB, free: 11.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.5735, allocations: 11.94 kB / 0.6073 GB, free: 11.11 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5735, allocations: 3.984 kB / 0.6073 GB, free: 11.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.5738, allocations: 20 kB / 0.6073 GB, free: 11.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.5739, allocations: 4.188 kB / 0.6073 GB, free: 11.08 MB / 462.3 MB 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.00115/0.575, allocations: 1.287 MB / 0.6086 GB, free: 9.785 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/0.5754, allocations: 0.5863 MB / 0.6091 GB, free: 9.191 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.5759, allocations: 0.652 MB / 0.6098 GB, free: 8.539 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5759, allocations: 4 kB / 0.6098 GB, free: 8.535 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5759, allocations: 0 / 0.6098 GB, free: 8.535 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5759, allocations: 0 / 0.6098 GB, free: 8.535 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.5773, allocations: 2.027 MB / 0.6117 GB, free: 6.461 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5773, allocations: 0 / 0.6117 GB, free: 6.461 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.5773, allocations: 4 kB / 0.6117 GB, free: 6.457 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5773, allocations: 4 kB / 0.6118 GB, free: 6.453 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.5773, allocations: 11.92 kB / 0.6118 GB, free: 6.441 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5773, allocations: 3.984 kB / 0.6118 GB, free: 6.438 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5774, allocations: 0 / 0.6118 GB, free: 6.438 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.5779, allocations: 0.7173 MB / 0.6125 GB, free: 5.695 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/0.5783, allocations: 0.517 MB / 0.613 GB, free: 5.152 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.5785, allocations: 16 kB / 0.613 GB, free: 5.137 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.5788, allocations: 23.98 kB / 0.613 GB, free: 5.113 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.5788, allocations: 4 kB / 0.613 GB, free: 5.109 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.5788, allocations: 0 / 0.613 GB, free: 5.109 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.003884/0.5827, allocations: 4.424 MB / 0.6173 GB, free: 0.7266 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5827, allocations: 0 / 0.6173 GB, free: 0.7266 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004526/0.5832, allocations: 168 kB / 0.6175 GB, free: 0.5625 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: 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.000918/0.5841, allocations: 415.8 kB / 0.6179 GB, free: 316 kB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.5843, allocations: 43.92 kB / 0.6179 GB, free: 272 kB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5843, allocations: 0 / 0.6179 GB, free: 272 kB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.728e-05/0.5844, allocations: 19.98 kB / 0.618 GB, free: 252 kB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.5856, allocations: 461 kB / 0.6184 GB, free: 15.79 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.5968, allocations: 9.774 MB / 0.6279 GB, free: 5.977 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.5991, allocations: 2.737 MB / 0.6306 GB, free: 3.215 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.6003, allocations: 0.5655 MB / 0.6312 GB, free: 2.648 MB / 478.3 MB Notification: Performance of SimCode: time 1.132e-06/0.6003, allocations: 0 / 0.6312 GB, free: 2.648 MB / 478.3 MB Notification: Performance of Templates: time 0.7396/1.34, allocations: 137.5 MB / 0.7654 GB, free: 159.2 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches