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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008987/0.0008988, allocations: 176.3 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007646/0.0007646, allocations: 87.92 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8307/0.8307, allocations: 120.4 MB / 440.6 MB, free: 4.094 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 12 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 80 MB / 0.5969 GB, free: 9.133 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7088/0.8455, allocations: 125.9 MB / 0.7199 GB, free: 18.64 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001375/0.8457, allocations: 47.38 kB / 0.7199 GB, free: 18.64 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.06953/0.9153, allocations: 27.62 MB / 0.7469 GB, free: 9.391 MB / 0.5109 GB Notification: Performance of FrontEnd: time 2.855e-06/0.9153, allocations: 0 / 0.7469 GB, free: 9.391 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 0.00034/0.9157, allocations: 64 kB / 0.747 GB, free: 9.328 MB / 0.5109 GB 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.007484/0.9232, allocations: 4.606 MB / 0.7515 GB, free: 4.879 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.9233, allocations: 8.031 kB / 0.7515 GB, free: 4.871 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.9246, allocations: 0.5737 MB / 0.752 GB, free: 4.293 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.9357, allocations: 6.014 MB / 0.7579 GB, free: 14.87 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.9358, allocations: 3.562 kB / 0.7579 GB, free: 14.87 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.9359, allocations: 20.38 kB / 0.7579 GB, free: 14.85 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.9362, allocations: 237.6 kB / 0.7582 GB, free: 14.61 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.9363, allocations: 192 / 0.7582 GB, free: 14.61 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.9363, allocations: 27.69 kB / 0.7582 GB, free: 14.59 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.9363, allocations: 0 / 0.7582 GB, free: 14.59 MB / 0.5265 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.9365, allocations: 127.3 kB / 0.7583 GB, free: 14.47 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.9388, allocations: 1.857 MB / 0.7601 GB, free: 13.06 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.9389, allocations: 98.14 kB / 0.7602 GB, free: 12.96 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.939, allocations: 103.8 kB / 0.7603 GB, free: 12.87 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.9391, allocations: 0 / 0.7603 GB, free: 12.87 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.9393, allocations: 252.5 kB / 0.7606 GB, free: 12.62 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=8): time 2.685e-06/0.9394, allocations: 3.984 kB / 0.7606 GB, free: 12.61 MB / 0.5265 GB Notification: Performance of matching and sorting (n=8): time 0.001278/0.9406, allocations: 1.17 MB / 0.7617 GB, free: 11.45 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.9407, allocations: 77.11 kB / 0.7618 GB, free: 11.35 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006129/0.9468, allocations: 6.265 MB / 0.7679 GB, free: 6.355 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.9469, allocations: 49.64 kB / 0.7679 GB, free: 6.301 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.9485, allocations: 2.57 MB / 0.7705 GB, free: 5.637 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.9486, allocations: 31.62 kB / 0.7705 GB, free: 5.609 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.9486, allocations: 16 kB / 0.7705 GB, free: 5.594 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.9487, allocations: 310 kB / 0.7708 GB, free: 5.285 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.9488, allocations: 79.88 kB / 0.7709 GB, free: 5.215 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.9489, allocations: 79.92 kB / 0.7709 GB, free: 5.141 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.9492, allocations: 223.1 kB / 0.7712 GB, free: 4.926 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9492, allocations: 0 / 0.7712 GB, free: 4.926 MB / 0.5265 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0011/0.9504, allocations: 1.093 MB / 0.7722 GB, free: 3.836 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.9504, allocations: 37.64 kB / 0.7723 GB, free: 3.793 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.9504, allocations: 0 / 0.7723 GB, free: 3.793 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.9504, allocations: 0 / 0.7723 GB, free: 3.793 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.9505, allocations: 7.984 kB / 0.7723 GB, free: 3.785 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.9505, allocations: 4.703 kB / 0.7723 GB, free: 3.781 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.9509, allocations: 23.84 kB / 0.7723 GB, free: 3.758 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.9511, allocations: 223.1 kB / 0.7725 GB, free: 3.57 MB / 0.5265 GB 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.001443/0.9525, allocations: 1.334 MB / 0.7738 GB, free: 2.348 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/0.9529, allocations: 0.5786 MB / 0.7744 GB, free: 1.762 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000596/0.9535, allocations: 0.6471 MB / 0.775 GB, free: 1.234 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.9536, allocations: 0 / 0.775 GB, free: 1.234 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.9536, allocations: 0.75 kB / 0.775 GB, free: 1.234 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9536, allocations: 0 / 0.775 GB, free: 1.234 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.9552, allocations: 2.022 MB / 0.777 GB, free: 15.66 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9552, allocations: 96 / 0.777 GB, free: 15.66 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.9553, allocations: 15.88 kB / 0.777 GB, free: 15.64 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.9553, allocations: 3.938 kB / 0.777 GB, free: 15.64 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.9553, allocations: 48 kB / 0.7771 GB, free: 15.59 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9553, allocations: 15.92 kB / 0.7771 GB, free: 15.58 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9553, allocations: 0 / 0.7771 GB, free: 15.58 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.9564, allocations: 1.163 MB / 0.7782 GB, free: 14.41 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/0.9569, allocations: 0.5638 MB / 0.7788 GB, free: 13.83 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.9571, allocations: 23.94 kB / 0.7788 GB, free: 13.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.9574, allocations: 20 kB / 0.7788 GB, free: 13.79 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.9575, allocations: 3.188 kB / 0.7788 GB, free: 13.79 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.9576, allocations: 227.1 kB / 0.779 GB, free: 13.59 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.004505/0.9622, allocations: 4.313 MB / 0.7832 GB, free: 10.18 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9622, allocations: 0 / 0.7832 GB, free: 10.18 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005898/0.9628, allocations: 191.9 kB / 0.7834 GB, free: 9.992 MB / 0.5421 GB 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.000218/0.963, allocations: 139.1 kB / 0.7835 GB, free: 9.844 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.9634, allocations: 281.5 kB / 0.7838 GB, free: 9.594 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9634, allocations: 0 / 0.7838 GB, free: 9.594 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.9636, allocations: 185.9 kB / 0.784 GB, free: 9.426 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.9647, allocations: 444.2 kB / 0.7844 GB, free: 9.234 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.975, allocations: 8.934 MB / 0.7931 GB, free: 0.5859 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/0.9772, allocations: 2.724 MB / 0.7958 GB, free: 13.96 MB / 0.5578 GB Notification: Performance of simCode: alias equations: time 0.00272/0.9799, allocations: 1.161 MB / 0.7969 GB, free: 12.79 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.9802, allocations: 259.4 kB / 0.7972 GB, free: 12.54 MB / 0.5578 GB Notification: Performance of SimCode: time 1.132e-06/0.9802, allocations: 0 / 0.7972 GB, free: 12.54 MB / 0.5578 GB Notification: Performance of Templates: time 0.04711/1.027, allocations: 20.38 MB / 0.8171 GB, free: 8.039 MB / 0.5734 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/jenkins1/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