Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009723/0.0009724, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.3 MB / 235.5 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 95.55 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8602/0.8602, allocations: 120.4 MB / 457.8 MB, free: 7.059 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.766e-05, allocations: 4 kB / 0.5357 GB, free: 12.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4967, allocations: 82.84 MB / 0.6166 GB, free: 9.363 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.6314, allocations: 126.7 MB / 0.7403 GB, free: 10.56 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001255/0.6315, allocations: 47.98 kB / 0.7403 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.471/2.102, allocations: 193.5 MB / 0.9293 GB, free: 6.574 MB / 0.589 GB Notification: Performance of FrontEnd: time 6.893e-06/2.102, allocations: 0 / 0.9293 GB, free: 6.574 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.001571/2.104, allocations: 259.9 kB / 0.9295 GB, free: 6.32 MB / 0.589 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.02596/2.13, allocations: 12.6 MB / 0.9418 GB, free: 9.602 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/2.13, allocations: 8.031 kB / 0.9418 GB, free: 9.594 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/2.133, allocations: 2.268 MB / 0.9441 GB, free: 7.297 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05212/2.185, allocations: 22.34 MB / 0.9659 GB, free: 0.7891 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/2.185, allocations: 7.984 kB / 0.9659 GB, free: 0.7812 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/2.186, allocations: 64 kB / 0.9659 GB, free: 0.7188 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/2.187, allocations: 0.7744 MB / 0.9667 GB, free: 15.93 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/2.187, allocations: 0 / 0.9667 GB, free: 15.93 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/2.187, allocations: 67.94 kB / 0.9668 GB, free: 15.87 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/2.187, allocations: 4 kB / 0.9668 GB, free: 15.86 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/2.187, allocations: 467.9 kB / 0.9672 GB, free: 15.41 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/2.203, allocations: 6.992 MB / 0.974 GB, free: 8.367 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/2.204, allocations: 290.6 kB / 0.9743 GB, free: 8.074 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/2.204, allocations: 276.9 kB / 0.9746 GB, free: 7.801 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/2.205, allocations: 48 / 0.9746 GB, free: 7.801 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000748/2.205, allocations: 0.7112 MB / 0.9753 GB, free: 7.07 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=8): time 2.184e-06/2.205, allocations: 3.938 kB / 0.9753 GB, free: 7.066 MB / 0.6359 GB Notification: Performance of matching and sorting (n=8): time 0.004831/2.21, allocations: 3.72 MB / 0.9789 GB, free: 3.305 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/2.21, allocations: 81.11 kB / 0.979 GB, free: 3.207 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3349/2.545, allocations: 21.08 MB / 0.9996 GB, free: 175.9 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0003552/2.545, allocations: 89.52 kB / 0.9997 GB, free: 175.8 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.01126/2.557, allocations: 11.01 MB / 1.01 GB, free: 169.6 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004638/2.557, allocations: 85.7 kB / 1.01 GB, free: 169.6 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/2.557, allocations: 67.91 kB / 1.011 GB, free: 169.6 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/2.557, allocations: 313.7 kB / 1.011 GB, free: 169.3 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/2.558, allocations: 265 kB / 1.011 GB, free: 169.3 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/2.558, allocations: 266.6 kB / 1.011 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/2.558, allocations: 294.8 kB / 1.012 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/2.558, allocations: 0 / 1.012 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004986/2.563, allocations: 3.725 MB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/2.564, allocations: 36.61 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/2.564, allocations: 3.75 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/2.564, allocations: 0 / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/2.564, allocations: 7.312 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/2.564, allocations: 3.953 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/2.565, allocations: 72.62 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/2.566, allocations: 0.8587 MB / 1.016 GB, free: 169 MB / 0.6515 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 () * 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.000235/2.566, allocations: 269.8 kB / 1.016 GB, free: 168.8 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/2.567, allocations: 2.265 MB / 1.019 GB, free: 167.6 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/2.572, allocations: 2.562 MB / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/2.572, allocations: 0 / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/2.572, allocations: 3.875 kB / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/2.572, allocations: 4.047 kB / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/2.582, allocations: 7.623 MB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/2.582, allocations: 0 / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/2.582, allocations: 3.562 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/2.582, allocations: 1.969 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003881/2.583, allocations: 192.2 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/2.583, allocations: 0 / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/2.583, allocations: 0.875 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/2.586, allocations: 3.921 MB / 1.033 GB, free: 162.8 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002891/2.589, allocations: 1.978 MB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009386/2.59, allocations: 69.66 kB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/2.591, allocations: 68.84 kB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/2.591, allocations: 3.516 kB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004829/2.592, allocations: 0.8636 MB / 1.036 GB, free: 161.3 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.03118/2.623, allocations: 16.93 MB / 1.052 GB, free: 156.9 MB / 0.6515 GB Notification: Performance of sort global known variables: time 4.11e-07/2.623, allocations: 0 / 1.052 GB, free: 156.9 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.002553/2.626, allocations: 0.6491 MB / 1.053 GB, free: 156.9 MB / 0.6515 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) * 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.000399/2.626, allocations: 191.1 kB / 1.053 GB, free: 156.8 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.001021/2.627, allocations: 0.6864 MB / 1.054 GB, free: 156.7 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/2.627, allocations: 0 / 1.054 GB, free: 156.7 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.000475/2.628, allocations: 419.5 kB / 1.054 GB, free: 156.6 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/2.631, allocations: 1.637 MB / 1.056 GB, free: 155.6 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/2.664, allocations: 28.22 MB / 1.083 GB, free: 140.2 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007231/2.671, allocations: 9.281 MB / 1.092 GB, free: 134.2 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.01015/2.681, allocations: 4.699 MB / 1.097 GB, free: 130.7 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008007/2.682, allocations: 0.9838 MB / 1.098 GB, free: 129.7 MB / 0.6515 GB Notification: Performance of SimCode: time 1.082e-06/2.682, allocations: 4 kB / 1.098 GB, free: 129.7 MB / 0.6515 GB Notification: Performance of Templates: time 0.1678/2.85, allocations: 81.96 MB / 1.178 GB, free: 48.44 MB / 0.6515 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches