Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.001411, allocations: 110.8 kB / 17.06 MB, free: 6.016 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.001576/0.001576, allocations: 191 kB / 18 MB, free: 5.105 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.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.272/1.272, allocations: 119.3 MB / 411.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 62.72 kB / 0.5709 GB, free: 39.95 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1895, allocations: 80.69 MB / 0.6497 GB, free: 13.23 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.003283/0.1928, allocations: 1.581 MB / 0.6512 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1943, allocations: 0.8963 MB / 0.6521 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.1944, allocations: 7.875 kB / 0.6521 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.1958, allocations: 1.746 MB / 0.6538 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000978/0.1968, allocations: 0.9471 MB / 0.6548 GB, free: 8.031 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.1972, allocations: 111.4 kB / 0.6549 GB, free: 7.926 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.199, allocations: 2.227 MB / 0.657 GB, free: 5.695 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.688e-05/0.1991, allocations: 7.984 kB / 0.657 GB, free: 5.688 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009463/0.2, allocations: 1.103 MB / 0.6581 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.2017, allocations: 2.059 MB / 0.6601 GB, free: 2.52 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.2019, allocations: 132 kB / 0.6603 GB, free: 2.391 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.2023, allocations: 152 kB / 0.6604 GB, free: 2.242 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004966/0.2072, allocations: 4.995 MB / 0.6653 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002622/0.2099, allocations: 2.839 MB / 0.6681 GB, free: 10.37 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.005222/0.2151, allocations: 6.251 MB / 0.6742 GB, free: 4.082 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2151, allocations: 0 / 0.6742 GB, free: 4.082 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2151, allocations: 0 / 0.6742 GB, free: 4.082 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001455/0.2153, allocations: 0 / 0.6742 GB, free: 4.082 MB / 0.5139 GB 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.01198/0.2273, allocations: 9.981 MB / 0.6839 GB, free: 9.965 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.2274, allocations: 15.89 kB / 0.6839 GB, free: 9.949 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.2288, allocations: 1.107 MB / 0.685 GB, free: 8.828 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02336/0.2522, allocations: 12.97 MB / 0.6977 GB, free: 11.73 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.2523, allocations: 4.375 kB / 0.6977 GB, free: 11.73 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.2523, allocations: 12.06 kB / 0.6977 GB, free: 11.71 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2525, allocations: 53.61 kB / 0.6977 GB, free: 11.66 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2525, allocations: 3.984 kB / 0.6977 GB, free: 11.65 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2525, allocations: 0 / 0.6977 GB, free: 11.65 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2526, allocations: 0 / 0.6977 GB, free: 11.65 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.511e-05/0.2526, allocations: 15.98 kB / 0.6978 GB, free: 11.64 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007461/0.2601, allocations: 3.557 MB / 0.7012 GB, free: 8.039 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.2604, allocations: 50.62 kB / 0.7013 GB, free: 7.98 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.2605, allocations: 24.78 kB / 0.7013 GB, free: 7.953 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.2605, allocations: 3.938 kB / 0.7013 GB, free: 7.949 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.2608, allocations: 67.39 kB / 0.7014 GB, free: 7.871 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=5): time 3.878e-06/0.2608, allocations: 0 / 0.7014 GB, free: 7.871 MB / 0.5452 GB Notification: Performance of matching and sorting (n=5): time 0.003122/0.2639, allocations: 1.221 MB / 0.7026 GB, free: 6.629 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.264, allocations: 51.41 kB / 0.7026 GB, free: 6.566 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02164/0.2857, allocations: 12.74 MB / 0.715 GB, free: 9.926 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.2857, allocations: 33.7 kB / 0.7151 GB, free: 9.887 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.004718/0.2905, allocations: 5.474 MB / 0.7204 GB, free: 4.41 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.2906, allocations: 19.8 kB / 0.7204 GB, free: 4.391 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.2906, allocations: 17.72 kB / 0.7205 GB, free: 4.367 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2907, allocations: 314 kB / 0.7208 GB, free: 4.055 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.2908, allocations: 19.92 kB / 0.7208 GB, free: 4.035 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.2909, allocations: 25.7 kB / 0.7208 GB, free: 4.004 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.291, allocations: 37.97 kB / 0.7208 GB, free: 3.961 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.291, allocations: 4 kB / 0.7208 GB, free: 3.957 MB / 0.5608 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00197/0.293, allocations: 1.221 MB / 0.722 GB, free: 2.715 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.293, allocations: 6.969 kB / 0.722 GB, free: 2.711 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.293, allocations: 0 / 0.722 GB, free: 2.711 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.2931, allocations: 0 / 0.722 GB, free: 2.711 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.2932, allocations: 12 kB / 0.7221 GB, free: 2.699 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2932, allocations: 0 / 0.7221 GB, free: 2.699 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.2947, allocations: 43.84 kB / 0.7221 GB, free: 2.656 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2947, allocations: 8.141 kB / 0.7221 GB, free: 2.648 MB / 0.5608 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.003868/0.2986, allocations: 2.446 MB / 0.7245 GB, free: 196 kB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/0.3004, allocations: 1.165 MB / 0.7256 GB, free: 15.01 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.3028, allocations: 1.296 MB / 0.7269 GB, free: 13.71 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3028, allocations: 3.938 kB / 0.7269 GB, free: 13.7 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.3028, allocations: 0 / 0.7269 GB, free: 13.7 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3028, allocations: 0 / 0.7269 GB, free: 13.7 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007984/0.3108, allocations: 3.889 MB / 0.7307 GB, free: 9.77 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3109, allocations: 0 / 0.7307 GB, free: 9.77 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.3109, allocations: 4 kB / 0.7307 GB, free: 9.766 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.311, allocations: 0 / 0.7307 GB, free: 9.766 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.311, allocations: 3.984 kB / 0.7307 GB, free: 9.762 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.311, allocations: 11.98 kB / 0.7307 GB, free: 9.75 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.311, allocations: 0 / 0.7307 GB, free: 9.75 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.3138, allocations: 1.329 MB / 0.732 GB, free: 8.391 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/0.316, allocations: 0.9472 MB / 0.7329 GB, free: 7.41 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/0.3173, allocations: 36 kB / 0.733 GB, free: 7.375 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.3187, allocations: 36.11 kB / 0.733 GB, free: 7.34 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.3188, allocations: 4 kB / 0.733 GB, free: 7.336 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.3188, allocations: 8 kB / 0.733 GB, free: 7.328 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01959/0.3384, allocations: 8.76 MB / 0.7416 GB, free: 14.65 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.523e-06/0.3385, allocations: 0 / 0.7416 GB, free: 14.65 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002371/0.3409, allocations: 332 kB / 0.7419 GB, free: 14.32 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.001153/0.3421, allocations: 402.7 kB / 0.7423 GB, free: 14.08 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.3424, allocations: 39.98 kB / 0.7423 GB, free: 14.04 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3424, allocations: 3.938 kB / 0.7423 GB, free: 14.04 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.3425, allocations: 24.05 kB / 0.7423 GB, free: 14.01 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007498/0.35, allocations: 0.8766 MB / 0.7432 GB, free: 13.14 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/0.3813, allocations: 17.04 MB / 0.7598 GB, free: 12.06 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007192/0.3886, allocations: 4.801 MB / 0.7645 GB, free: 7.234 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.007438/0.3961, allocations: 2.824 MB / 0.7673 GB, free: 4.398 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00196/0.3981, allocations: 1.112 MB / 0.7684 GB, free: 3.285 MB / 0.6077 GB Notification: Performance of SimCode: time 1.312e-06/0.3981, allocations: 0 / 0.7684 GB, free: 3.285 MB / 0.6077 GB Notification: Performance of Templates: time 0.7864/1.184, allocations: 30.48 MB / 0.7981 GB, free: 95.91 MB / 0.6079 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches