Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 113 kB / 17.68 MB, free: 5.473 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.00114/0.00114, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.468/1.468, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.308/1.308, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 63.89 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6528, allocations: 80.68 MB / 0.5711 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.00313/0.656, allocations: 1.583 MB / 0.5727 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.6574, allocations: 0.8856 MB / 0.5736 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.633e-05/0.6575, allocations: 1.438 kB / 0.5736 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.6603, allocations: 3.46 MB / 0.5769 GB, free: 39.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.6623, allocations: 1.806 MB / 0.5787 GB, free: 38.93 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.6628, allocations: 108.6 kB / 0.5788 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.005805/0.6686, allocations: 4.35 MB / 0.5831 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.6687, allocations: 9.281 kB / 0.5831 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005819/0.6746, allocations: 2.153 MB / 0.5852 GB, free: 35.17 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004451/0.679, allocations: 4.071 MB / 0.5891 GB, free: 31.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004347/0.6795, allocations: 252 kB / 0.5894 GB, free: 30.85 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004757/0.68, allocations: 276 kB / 0.5896 GB, free: 30.58 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.008264/0.6883, allocations: 9.97 MB / 0.5994 GB, free: 20.58 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.008721/0.697, allocations: 5.639 MB / 0.6049 GB, free: 14.89 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.7091, allocations: 12.43 MB / 0.617 GB, free: 2.398 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.7091, allocations: 4 kB / 0.617 GB, free: 2.395 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.677e-06/0.7092, allocations: 0 / 0.617 GB, free: 2.395 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0005429/0.7097, allocations: 0 / 0.617 GB, free: 2.395 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.03102/0.7407, allocations: 19.58 MB / 0.6361 GB, free: 14.59 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.7408, allocations: 15.83 kB / 0.6362 GB, free: 14.58 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.7442, allocations: 2.206 MB / 0.6383 GB, free: 12.34 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06298/0.8072, allocations: 25.84 MB / 0.6635 GB, free: 2.309 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.8074, allocations: 384 / 0.6636 GB, free: 2.309 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.8074, allocations: 16.11 kB / 0.6636 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.8077, allocations: 49.67 kB / 0.6636 GB, free: 2.238 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.8077, allocations: 0 / 0.6636 GB, free: 2.238 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.8078, allocations: 3.938 kB / 0.6636 GB, free: 2.234 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.8078, allocations: 0 / 0.6636 GB, free: 2.234 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.8079, allocations: 19.92 kB / 0.6636 GB, free: 2.215 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.8234, allocations: 6.942 MB / 0.6704 GB, free: 11.22 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.8237, allocations: 58.61 kB / 0.6705 GB, free: 11.15 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.8238, allocations: 20.8 kB / 0.6705 GB, free: 11.13 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.8238, allocations: 7.984 kB / 0.6705 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.824, allocations: 59.39 kB / 0.6706 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.974e-06/0.824, allocations: 0 / 0.6706 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.004431/0.8284, allocations: 2.355 MB / 0.6729 GB, free: 8.66 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.8285, allocations: 55.41 kB / 0.6729 GB, free: 8.594 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0477/0.8762, allocations: 25.36 MB / 0.6977 GB, free: 15.45 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.8763, allocations: 29.7 kB / 0.6977 GB, free: 15.41 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01444/0.8908, allocations: 11.34 MB / 0.7088 GB, free: 4.062 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.8909, allocations: 23.66 kB / 0.7088 GB, free: 4.043 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.891, allocations: 21.7 kB / 0.7088 GB, free: 4.016 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8911, allocations: 310 kB / 0.7091 GB, free: 3.707 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.8912, allocations: 12 kB / 0.7091 GB, free: 3.695 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.8913, allocations: 29.7 kB / 0.7092 GB, free: 3.66 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.8914, allocations: 49.64 kB / 0.7092 GB, free: 3.605 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.8914, allocations: 0 / 0.7092 GB, free: 3.605 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004704/0.8961, allocations: 2.339 MB / 0.7115 GB, free: 1.23 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.8961, allocations: 8 kB / 0.7115 GB, free: 1.223 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.8962, allocations: 3.938 kB / 0.7115 GB, free: 1.219 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.8962, allocations: 4.031 kB / 0.7115 GB, free: 1.215 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.8963, allocations: 11.98 kB / 0.7115 GB, free: 1.203 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.8963, allocations: 4 kB / 0.7115 GB, free: 1.199 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/0.9, allocations: 64 kB / 0.7116 GB, free: 1.137 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.9, allocations: 0 / 0.7116 GB, free: 1.137 MB / 0.5452 GB 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.008358/0.9084, allocations: 4.764 MB / 0.7162 GB, free: 12.36 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005035/0.9134, allocations: 2.326 MB / 0.7185 GB, free: 10 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007594/0.921, allocations: 2.565 MB / 0.721 GB, free: 7.438 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.9211, allocations: 0 / 0.721 GB, free: 7.438 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.9211, allocations: 4 kB / 0.721 GB, free: 7.434 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.9211, allocations: 7.984 kB / 0.721 GB, free: 7.426 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0259/0.947, allocations: 7.618 MB / 0.7285 GB, free: 15.76 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.947, allocations: 0 / 0.7285 GB, free: 15.76 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.9471, allocations: 0 / 0.7285 GB, free: 15.76 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.9471, allocations: 4 kB / 0.7285 GB, free: 15.75 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.9472, allocations: 11.92 kB / 0.7285 GB, free: 15.74 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.9472, allocations: 128 / 0.7285 GB, free: 15.74 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9472, allocations: 4 kB / 0.7285 GB, free: 15.74 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/0.9532, allocations: 2.567 MB / 0.731 GB, free: 13.12 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005685/0.9589, allocations: 1.8 MB / 0.7327 GB, free: 11.28 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002968/0.9619, allocations: 64 kB / 0.7328 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003286/0.9653, allocations: 67.98 kB / 0.7329 GB, free: 11.15 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.9654, allocations: 4 kB / 0.7329 GB, free: 11.14 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.9654, allocations: 0 / 0.7329 GB, free: 11.14 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03636/1.002, allocations: 17.51 MB / 0.75 GB, free: 9.785 MB / 0.592 GB Notification: Performance of sort global known variables: time 3.91e-07/1.002, allocations: 0 / 0.75 GB, free: 9.785 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003561/1.005, allocations: 0.6289 MB / 0.7506 GB, free: 9.156 MB / 0.592 GB 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.001058/1.006, allocations: 426.7 kB / 0.751 GB, free: 8.895 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0002449/1.007, allocations: 47.91 kB / 0.751 GB, free: 8.848 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.007, allocations: 0 / 0.751 GB, free: 8.848 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/1.007, allocations: 19.98 kB / 0.7511 GB, free: 8.828 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005789/1.013, allocations: 1.713 MB / 0.7527 GB, free: 7.113 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6401/1.653, allocations: 34.65 MB / 0.7866 GB, free: 151.3 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01554/1.668, allocations: 8.932 MB / 0.7953 GB, free: 145.9 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01511/1.683, allocations: 5.659 MB / 0.8008 GB, free: 140.4 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004603/1.688, allocations: 2.217 MB / 0.803 GB, free: 138.2 MB / 0.5923 GB Notification: Performance of SimCode: time 1.382e-06/1.688, allocations: 0 / 0.803 GB, free: 138.2 MB / 0.5923 GB Notification: Performance of Templates: time 0.1794/1.868, allocations: 60.93 MB / 0.8625 GB, free: 77.23 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches