Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001501/0.001501, allocations: 104.7 kB / 16.51 MB, free: 6.645 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.001589/0.001589, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.444/1.444, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.015/1.015, allocations: 119.3 MB / 410.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 0.4903 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5839/0.5854, allocations: 80.68 MB / 0.569 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002406/0.5878, allocations: 1.477 MB / 0.5705 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.5887, allocations: 0.5925 MB / 0.5711 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.5888, allocations: 1.438 kB / 0.5711 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.5891, allocations: 448 kB / 0.5715 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.5896, allocations: 485.3 kB / 0.572 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.5898, allocations: 63.36 kB / 0.572 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006511/0.5904, allocations: 1.116 MB / 0.5731 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.5905, allocations: 4.344 kB / 0.5731 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.5909, allocations: 0.554 MB / 0.5737 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007039/0.5916, allocations: 0.9706 MB / 0.5746 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.5918, allocations: 68.56 kB / 0.5747 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.592, allocations: 140.7 kB / 0.5748 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002241/0.5943, allocations: 2.497 MB / 0.5772 GB, free: 38.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0009954/0.5953, allocations: 1.42 MB / 0.5786 GB, free: 37.66 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.5986, allocations: 3.043 MB / 0.5816 GB, free: 35.7 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.5986, allocations: 1.156 kB / 0.5816 GB, free: 35.7 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5986, allocations: 0 / 0.5816 GB, free: 35.7 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001296/0.5987, allocations: 0 / 0.5816 GB, free: 35.7 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.006148/0.6049, allocations: 5.164 MB / 0.5866 GB, free: 31.77 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.605, allocations: 16.25 kB / 0.5867 GB, free: 31.76 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007221/0.6057, allocations: 0.5534 MB / 0.5872 GB, free: 31.2 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008681/0.6144, allocations: 6.531 MB / 0.5936 GB, free: 24.59 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.6144, allocations: 4.375 kB / 0.5936 GB, free: 24.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.6145, allocations: 20.31 kB / 0.5936 GB, free: 24.57 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.6148, allocations: 237.8 kB / 0.5938 GB, free: 24.33 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6148, allocations: 0 / 0.5938 GB, free: 24.33 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.6149, allocations: 20 kB / 0.5938 GB, free: 24.31 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.6149, allocations: 0 / 0.5938 GB, free: 24.31 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.615, allocations: 132 kB / 0.594 GB, free: 24.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.6171, allocations: 1.858 MB / 0.5958 GB, free: 22.27 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.6173, allocations: 106.5 kB / 0.5959 GB, free: 22.16 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.6174, allocations: 96.8 kB / 0.596 GB, free: 22.06 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.6175, allocations: 0 / 0.596 GB, free: 22.06 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.6178, allocations: 252.9 kB / 0.5962 GB, free: 21.8 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.6178, allocations: 4 kB / 0.5962 GB, free: 21.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001283/0.6191, allocations: 1.168 MB / 0.5974 GB, free: 20.61 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.6191, allocations: 81.11 kB / 0.5974 GB, free: 20.51 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005721/0.6249, allocations: 6.279 MB / 0.6036 GB, free: 14.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.84e-05/0.625, allocations: 41.7 kB / 0.6036 GB, free: 14.23 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.6266, allocations: 2.524 MB / 0.6061 GB, free: 11.7 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.6267, allocations: 35.75 kB / 0.6061 GB, free: 11.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.6269, allocations: 129.7 kB / 0.6062 GB, free: 11.53 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.627, allocations: 318 kB / 0.6065 GB, free: 11.21 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.6271, allocations: 76 kB / 0.6066 GB, free: 11.14 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.6272, allocations: 83.98 kB / 0.6067 GB, free: 11.06 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.6275, allocations: 224.2 kB / 0.6069 GB, free: 10.82 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6275, allocations: 3.938 kB / 0.6069 GB, free: 10.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001181/0.6287, allocations: 1.093 MB / 0.608 GB, free: 9.707 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.6287, allocations: 33.7 kB / 0.608 GB, free: 9.668 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.6287, allocations: 3.984 kB / 0.608 GB, free: 9.664 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.6288, allocations: 0 / 0.608 GB, free: 9.664 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.6289, allocations: 4 kB / 0.608 GB, free: 9.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6289, allocations: 4 kB / 0.608 GB, free: 9.656 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.6293, allocations: 20 kB / 0.608 GB, free: 9.637 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.6295, allocations: 220 kB / 0.6082 GB, free: 9.422 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.001485/0.631, allocations: 1.337 MB / 0.6096 GB, free: 8.07 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.6313, allocations: 0.5746 MB / 0.6101 GB, free: 7.488 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.6318, allocations: 0.648 MB / 0.6107 GB, free: 6.832 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.6318, allocations: 0 / 0.6107 GB, free: 6.832 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6318, allocations: 0 / 0.6107 GB, free: 6.832 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6319, allocations: 4 kB / 0.6108 GB, free: 6.828 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.6332, allocations: 2.03 MB / 0.6127 GB, free: 4.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6332, allocations: 3.938 kB / 0.6127 GB, free: 4.746 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.6333, allocations: 3.938 kB / 0.6127 GB, free: 4.742 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6333, allocations: 8 kB / 0.6127 GB, free: 4.734 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/0.6333, allocations: 48.09 kB / 0.6128 GB, free: 4.688 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6334, allocations: 3.938 kB / 0.6128 GB, free: 4.684 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6334, allocations: 0 / 0.6128 GB, free: 4.684 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.6343, allocations: 1.168 MB / 0.6139 GB, free: 3.484 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.6348, allocations: 0.564 MB / 0.6145 GB, free: 2.895 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.635, allocations: 20 kB / 0.6145 GB, free: 2.875 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.6353, allocations: 23.98 kB / 0.6145 GB, free: 2.852 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.6354, allocations: 0 / 0.6145 GB, free: 2.852 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.6355, allocations: 224 kB / 0.6147 GB, free: 2.633 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005075/0.6406, allocations: 4.324 MB / 0.619 GB, free: 14.35 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.693e-06/0.6406, allocations: 0 / 0.619 GB, free: 14.35 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0007328/0.6413, allocations: 199.9 kB / 0.6192 GB, free: 14.15 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 (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.000232/0.6416, allocations: 143.1 kB / 0.6193 GB, free: 14 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004335/0.642, allocations: 283.6 kB / 0.6196 GB, free: 13.71 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.642, allocations: 0 / 0.6196 GB, free: 13.71 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.6423, allocations: 183.4 kB / 0.6197 GB, free: 13.52 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.6435, allocations: 441.8 kB / 0.6202 GB, free: 13.09 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.656, allocations: 9.491 MB / 0.6294 GB, free: 3.566 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.6585, allocations: 2.732 MB / 0.6321 GB, free: 0.8047 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002831/0.6613, allocations: 1.133 MB / 0.6332 GB, free: 15.66 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.6616, allocations: 259.4 kB / 0.6335 GB, free: 15.41 MB / 494.3 MB Notification: Performance of SimCode: time 1.382e-06/0.6617, allocations: 0 / 0.6335 GB, free: 15.41 MB / 494.3 MB Notification: Performance of Templates: time 0.05051/0.7122, allocations: 20.29 MB / 0.6533 GB, free: 11 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches