Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001138/0.001138, allocations: 177 kB / 17.56 MB, free: 6.18 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.459/1.459, allocations: 223.3 MB / 241.6 MB, free: 14.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.162/1.162, allocations: 120.5 MB / 413.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 8 kB / 0.4949 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.621, allocations: 82.83 MB / 0.5758 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.00145/0.6225, allocations: 1.133 MB / 0.5769 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.6235, allocations: 0.5787 MB / 0.5775 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.6235, allocations: 1.188 kB / 0.5775 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.6238, allocations: 124.6 kB / 0.5776 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.6241, allocations: 157.6 kB / 0.5777 GB, free: 39.94 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.6243, allocations: 55.91 kB / 0.5778 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.6246, allocations: 330.3 kB / 0.5781 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.6247, allocations: 2.125 kB / 0.5781 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.6249, allocations: 168.2 kB / 0.5783 GB, free: 39.67 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.6252, allocations: 269.6 kB / 0.5785 GB, free: 39.55 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.151e-05/0.6253, allocations: 22.44 kB / 0.5785 GB, free: 39.55 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.6254, allocations: 90.42 kB / 0.5786 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0005905/0.626, allocations: 0.631 MB / 0.5792 GB, free: 39.2 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.6263, allocations: 398.5 kB / 0.5796 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.6269, allocations: 0.8219 MB / 0.5804 GB, free: 38.33 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6269, allocations: 3.938 kB / 0.5804 GB, free: 38.32 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6269, allocations: 0 / 0.5804 GB, free: 38.32 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.6269, allocations: 0.9062 kB / 0.5804 GB, free: 38.32 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.001329/0.6282, allocations: 1.413 MB / 0.5818 GB, free: 37.14 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6283, allocations: 9.219 kB / 0.5818 GB, free: 37.14 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.6285, allocations: 148.4 kB / 0.582 GB, free: 37.05 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/0.6313, allocations: 1.756 MB / 0.5837 GB, free: 35.93 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6313, allocations: 1.625 kB / 0.5837 GB, free: 35.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.6313, allocations: 6.688 kB / 0.5837 GB, free: 35.93 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.6316, allocations: 96.55 kB / 0.5838 GB, free: 35.88 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6316, allocations: 3.938 kB / 0.5838 GB, free: 35.87 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.6316, allocations: 9.062 kB / 0.5838 GB, free: 35.87 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6316, allocations: 0 / 0.5838 GB, free: 35.87 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.6317, allocations: 45.83 kB / 0.5838 GB, free: 35.86 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.6325, allocations: 0.5878 MB / 0.5844 GB, free: 35.42 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.6327, allocations: 57.02 kB / 0.5845 GB, free: 35.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.6328, allocations: 44.67 kB / 0.5845 GB, free: 35.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.6328, allocations: 1.281 kB / 0.5845 GB, free: 35.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003432/0.6332, allocations: 138.6 kB / 0.5846 GB, free: 35.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 2.304e-06/0.6332, allocations: 0 / 0.5846 GB, free: 35.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0009116/0.6341, allocations: 410.2 kB / 0.585 GB, free: 35.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.6342, allocations: 82.95 kB / 0.5851 GB, free: 34.97 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.6366, allocations: 1.635 MB / 0.5867 GB, free: 34.22 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.6366, allocations: 29.64 kB / 0.5867 GB, free: 34.19 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/0.6371, allocations: 0.6283 MB / 0.5873 GB, free: 33.65 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.6372, allocations: 23.25 kB / 0.5874 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.6372, allocations: 21.45 kB / 0.5874 GB, free: 33.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.6373, allocations: 311 kB / 0.5877 GB, free: 33.31 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.6374, allocations: 31.73 kB / 0.5877 GB, free: 33.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-05/0.6375, allocations: 34.97 kB / 0.5877 GB, free: 33.29 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.6377, allocations: 135.8 kB / 0.5879 GB, free: 33.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6377, allocations: 0 / 0.5879 GB, free: 33.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005552/0.6383, allocations: 377.6 kB / 0.5882 GB, free: 33.02 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.6383, allocations: 43.75 kB / 0.5883 GB, free: 32.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6384, allocations: 144 / 0.5883 GB, free: 32.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.6384, allocations: 1.281 kB / 0.5883 GB, free: 32.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.6385, allocations: 7.766 kB / 0.5883 GB, free: 32.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6385, allocations: 0 / 0.5883 GB, free: 32.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.6386, allocations: 7.562 kB / 0.5883 GB, free: 32.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/0.6387, allocations: 61.25 kB / 0.5884 GB, free: 32.96 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.0005563/0.6393, allocations: 463.6 kB / 0.5888 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6394, allocations: 158 kB / 0.5889 GB, free: 32.54 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.6396, allocations: 170.8 kB / 0.5891 GB, free: 32.36 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6396, allocations: 0 / 0.5891 GB, free: 32.36 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.6396, allocations: 0 / 0.5891 GB, free: 32.36 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6396, allocations: 0 / 0.5891 GB, free: 32.36 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.64, allocations: 0.6242 MB / 0.5897 GB, free: 31.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.64, allocations: 4 kB / 0.5897 GB, free: 31.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.6401, allocations: 11.94 kB / 0.5897 GB, free: 31.67 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.6401, allocations: 0 / 0.5897 GB, free: 31.67 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.6401, allocations: 20 kB / 0.5898 GB, free: 31.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.6401, allocations: 0 / 0.5898 GB, free: 31.65 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6401, allocations: 0 / 0.5898 GB, free: 31.65 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.6405, allocations: 429.5 kB / 0.5902 GB, free: 31.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.6406, allocations: 211.2 kB / 0.5904 GB, free: 30.98 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.6407, allocations: 11.98 kB / 0.5904 GB, free: 30.97 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.6408, allocations: 12 kB / 0.5904 GB, free: 30.96 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.6409, allocations: 3.938 kB / 0.5904 GB, free: 30.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.6409, allocations: 60 kB / 0.5904 GB, free: 30.89 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000947/0.6419, allocations: 1.147 MB / 0.5916 GB, free: 29.76 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6419, allocations: 0 / 0.5916 GB, free: 29.76 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003017/0.6422, allocations: 68 kB / 0.5916 GB, free: 29.69 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.0001624/0.6424, allocations: 132.3 kB / 0.5918 GB, free: 29.55 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.6426, allocations: 167.4 kB / 0.5919 GB, free: 29.38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6426, allocations: 4 kB / 0.5919 GB, free: 29.38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.562e-05/0.6427, allocations: 127.4 kB / 0.592 GB, free: 29.24 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.6431, allocations: 122.3 kB / 0.5922 GB, free: 29.12 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.6454, allocations: 2.395 MB / 0.5945 GB, free: 26.69 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.6459, allocations: 1.18 MB / 0.5957 GB, free: 25.48 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006064/0.6465, allocations: 297.7 kB / 0.5959 GB, free: 25.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.6466, allocations: 71.44 kB / 0.596 GB, free: 25.11 MB / 462.3 MB Notification: Performance of SimCode: time 5.41e-07/0.6466, allocations: 0 / 0.596 GB, free: 25.11 MB / 462.3 MB Notification: Performance of Templates: time 0.01158/0.6582, allocations: 5.585 MB / 0.6015 GB, free: 19.44 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches