Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 110.3 kB / 17.28 MB, free: 6.219 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.001387/0.001387, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.364/1.364, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.125/1.125, allocations: 119.3 MB / 411.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 55.91 kB / 0.4911 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5867, allocations: 80.68 MB / 0.5699 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002483/0.5893, allocations: 1.462 MB / 0.5713 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008982/0.5902, allocations: 0.564 MB / 0.5718 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.5902, allocations: 4 kB / 0.5718 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.5904, allocations: 15.73 kB / 0.5719 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.5907, allocations: 59.58 kB / 0.5719 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.591, allocations: 77.72 kB / 0.572 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.5911, allocations: 91.48 kB / 0.5721 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.5912, allocations: 2.375 kB / 0.5721 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.5913, allocations: 45.41 kB / 0.5721 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.5914, allocations: 52.8 kB / 0.5722 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.5915, allocations: 3.531 kB / 0.5722 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.5916, allocations: 77.45 kB / 0.5723 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.5917, allocations: 56.19 kB / 0.5723 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.5918, allocations: 55.33 kB / 0.5724 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.592, allocations: 105.5 kB / 0.5725 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.592, allocations: 0 / 0.5725 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.703e-06/0.592, allocations: 0 / 0.5725 GB, free: 41.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.592, allocations: 1.469 kB / 0.5725 GB, free: 41.58 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.0004432/0.5924, allocations: 480.7 kB / 0.5729 GB, free: 41.1 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5925, allocations: 13.48 kB / 0.5729 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.5925, allocations: 16.19 kB / 0.5729 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.5929, allocations: 308.1 kB / 0.5732 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.5929, allocations: 5.5 kB / 0.5732 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.5929, allocations: 6.812 kB / 0.5733 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.5931, allocations: 55.83 kB / 0.5733 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5931, allocations: 0 / 0.5733 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.5931, allocations: 1.406 kB / 0.5733 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5931, allocations: 0 / 0.5733 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.752e-05/0.5932, allocations: 28.95 kB / 0.5733 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.5933, allocations: 200.6 kB / 0.5735 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.652e-05/0.5934, allocations: 46.12 kB / 0.5736 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.5935, allocations: 29.92 kB / 0.5736 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.5935, allocations: 1.594 kB / 0.5736 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.5936, allocations: 105.3 kB / 0.5737 GB, free: 40.34 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.5937, allocations: 0 / 0.5737 GB, free: 40.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002975/0.594, allocations: 167.1 kB / 0.5739 GB, free: 40.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.594, allocations: 79.48 kB / 0.5739 GB, free: 40.14 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.5942, allocations: 231.8 kB / 0.5742 GB, free: 39.99 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.5942, allocations: 28.2 kB / 0.5742 GB, free: 39.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.5943, allocations: 124.5 kB / 0.5743 GB, free: 39.84 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.5943, allocations: 14.59 kB / 0.5743 GB, free: 39.83 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.5944, allocations: 24.22 kB / 0.5743 GB, free: 39.81 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.5944, allocations: 335.6 kB / 0.5747 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.708e-05/0.5945, allocations: 17.97 kB / 0.5747 GB, free: 39.47 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.5945, allocations: 24.7 kB / 0.5747 GB, free: 39.45 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.207e-05/0.5946, allocations: 114.9 kB / 0.5748 GB, free: 39.35 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5946, allocations: 0 / 0.5748 GB, free: 39.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000175/0.5948, allocations: 149.3 kB / 0.575 GB, free: 39.25 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5948, allocations: 36.81 kB / 0.575 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5948, allocations: 4 kB / 0.575 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5949, allocations: 1.156 kB / 0.575 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.5949, allocations: 3.625 kB / 0.575 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5949, allocations: 0 / 0.575 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.595, allocations: 7.656 kB / 0.575 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.595, allocations: 6.312 kB / 0.575 GB, free: 39.21 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.0001127/0.5951, allocations: 173.2 kB / 0.5752 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.5952, allocations: 24.69 kB / 0.5752 GB, free: 39.03 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.5952, allocations: 21.45 kB / 0.5752 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5952, allocations: 1.5 kB / 0.5752 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5952, allocations: 0 / 0.5752 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5952, allocations: 1.469 kB / 0.5752 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.5954, allocations: 209.5 kB / 0.5754 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5954, allocations: 1.375 kB / 0.5754 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.5954, allocations: 6.719 kB / 0.5754 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.5954, allocations: 4 kB / 0.5754 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.5954, allocations: 7.266 kB / 0.5754 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5954, allocations: 1.188 kB / 0.5754 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5954, allocations: 0 / 0.5754 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.5957, allocations: 205.8 kB / 0.5756 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.5957, allocations: 101.3 kB / 0.5757 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.5958, allocations: 6.688 kB / 0.5757 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.5958, allocations: 3.062 kB / 0.5757 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.5958, allocations: 13.56 kB / 0.5758 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.5959, allocations: 10.55 kB / 0.5758 GB, free: 38.48 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001259/0.596, allocations: 172.4 kB / 0.5759 GB, free: 38.37 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.596, allocations: 0 / 0.5759 GB, free: 38.37 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002439/0.5963, allocations: 43.23 kB / 0.576 GB, free: 38.36 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.0001513/0.5964, allocations: 116.6 kB / 0.5761 GB, free: 38.27 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.5966, allocations: 150.8 kB / 0.5762 GB, free: 38.15 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5966, allocations: 0 / 0.5762 GB, free: 38.15 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.5967, allocations: 111.2 kB / 0.5763 GB, free: 38.06 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.5969, allocations: 20.52 kB / 0.5764 GB, free: 38.05 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.5974, allocations: 362.5 kB / 0.5767 GB, free: 37.77 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.5976, allocations: 0.7244 MB / 0.5774 GB, free: 37.05 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.5977, allocations: 13.59 kB / 0.5774 GB, free: 37.04 MB / 462.3 MB Notification: Performance of SimCode: time 4.51e-07/0.5977, allocations: 1.094 kB / 0.5774 GB, free: 37.04 MB / 462.3 MB Notification: Performance of Templates: time 0.003888/0.6016, allocations: 2.045 MB / 0.5794 GB, free: 35.98 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches