Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 91.38 kB / 17.31 MB, free: 5.59 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.001113/0.001114, allocations: 177.2 kB / 18.21 MB, free: 5.191 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.322/1.322, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8607/0.8607, allocations: 120.5 MB / 413.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 15.94 kB / 0.4955 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4953, allocations: 82.84 MB / 0.5764 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002016/0.4974, allocations: 1.272 MB / 0.5777 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.4988, allocations: 0.8619 MB / 0.5785 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.4989, allocations: 1.375 kB / 0.5785 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.4993, allocations: 56.56 kB / 0.5786 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.4996, allocations: 100.8 kB / 0.5787 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.4998, allocations: 91.41 kB / 0.5788 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.5, allocations: 119.3 kB / 0.5789 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.5001, allocations: 3.812 kB / 0.5789 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.5003, allocations: 66.38 kB / 0.5789 GB, free: 40 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.5004, allocations: 49.78 kB / 0.579 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.5004, allocations: 2.938 kB / 0.579 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.861e-05/0.5005, allocations: 34.8 kB / 0.579 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.5007, allocations: 73.02 kB / 0.5791 GB, free: 39.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.5008, allocations: 79.98 kB / 0.5792 GB, free: 39.85 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.501, allocations: 117.7 kB / 0.5793 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.501, allocations: 1.062 kB / 0.5793 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.334e-06/0.501, allocations: 0 / 0.5793 GB, free: 39.78 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.501, allocations: 0 / 0.5793 GB, free: 39.78 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.0005562/0.5016, allocations: 469.9 kB / 0.5797 GB, free: 39.31 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5016, allocations: 9.281 kB / 0.5797 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.5017, allocations: 26.45 kB / 0.5798 GB, free: 39.3 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.502, allocations: 336.9 kB / 0.5801 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5021, allocations: 1.812 kB / 0.5801 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.5021, allocations: 5.656 kB / 0.5801 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.5022, allocations: 46.92 kB / 0.5801 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5022, allocations: 0 / 0.5801 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.5022, allocations: 5.219 kB / 0.5801 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5023, allocations: 0 / 0.5801 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.565e-05/0.5023, allocations: 20.92 kB / 0.5802 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.5025, allocations: 203 kB / 0.5804 GB, free: 38.71 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.5027, allocations: 58.89 kB / 0.5804 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.5027, allocations: 25.03 kB / 0.5804 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.5028, allocations: 5.375 kB / 0.5804 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.5029, allocations: 63.77 kB / 0.5805 GB, free: 38.57 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.5029, allocations: 0 / 0.5805 GB, free: 38.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002609/0.5032, allocations: 108 kB / 0.5806 GB, free: 38.5 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.5032, allocations: 52.78 kB / 0.5807 GB, free: 38.44 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.5035, allocations: 279.1 kB / 0.5809 GB, free: 38.26 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.5035, allocations: 27.08 kB / 0.5809 GB, free: 38.23 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.5036, allocations: 141.7 kB / 0.5811 GB, free: 38.1 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.5036, allocations: 6.656 kB / 0.5811 GB, free: 38.09 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.5036, allocations: 16.47 kB / 0.5811 GB, free: 38.07 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.656e-05/0.5037, allocations: 333.7 kB / 0.5814 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.5037, allocations: 14.86 kB / 0.5814 GB, free: 37.74 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.945e-05/0.5038, allocations: 23.38 kB / 0.5815 GB, free: 37.72 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.304e-05/0.5039, allocations: 51.17 kB / 0.5815 GB, free: 37.68 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5039, allocations: 0.9375 kB / 0.5815 GB, free: 37.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001567/0.5041, allocations: 95.72 kB / 0.5816 GB, free: 37.61 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5041, allocations: 5.531 kB / 0.5816 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5041, allocations: 3.984 kB / 0.5816 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.5041, allocations: 0.9375 kB / 0.5816 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.5042, allocations: 17.16 kB / 0.5816 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5042, allocations: 0.9062 kB / 0.5816 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.5043, allocations: 7.719 kB / 0.5816 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.5043, allocations: 1.875 kB / 0.5816 GB, free: 37.6 MB / 462.3 MB 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 9.745e-05/0.5044, allocations: 146.9 kB / 0.5818 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.5044, allocations: 20.97 kB / 0.5818 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.5045, allocations: 24.36 kB / 0.5818 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5045, allocations: 0.9062 kB / 0.5818 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5045, allocations: 0 / 0.5818 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.5045, allocations: 0.9375 kB / 0.5818 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.5047, allocations: 220 kB / 0.582 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5047, allocations: 4.844 kB / 0.582 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.5047, allocations: 10.72 kB / 0.582 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5047, allocations: 0.9062 kB / 0.582 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.5047, allocations: 4.922 kB / 0.5821 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.5047, allocations: 0.9375 kB / 0.5821 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5047, allocations: 0 / 0.5821 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.5049, allocations: 126.5 kB / 0.5822 GB, free: 37.08 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.505, allocations: 104.1 kB / 0.5823 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.505, allocations: 8.922 kB / 0.5823 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.5051, allocations: 6.734 kB / 0.5823 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.5051, allocations: 1.844 kB / 0.5823 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.5051, allocations: 2.781 kB / 0.5823 GB, free: 36.96 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001768/0.5053, allocations: 208 kB / 0.5825 GB, free: 36.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5053, allocations: 0 / 0.5825 GB, free: 36.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002166/0.5055, allocations: 19.69 kB / 0.5825 GB, free: 36.82 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: 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.000892/0.5064, allocations: 406.8 kB / 0.5829 GB, free: 36.62 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.5066, allocations: 47.92 kB / 0.5829 GB, free: 36.6 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5066, allocations: 0 / 0.5829 GB, free: 36.6 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.5066, allocations: 20.27 kB / 0.583 GB, free: 36.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.507, allocations: 38.62 kB / 0.583 GB, free: 36.57 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.5075, allocations: 399 kB / 0.5834 GB, free: 36.27 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.5077, allocations: 0.7379 MB / 0.5841 GB, free: 35.54 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.5078, allocations: 21.28 kB / 0.5841 GB, free: 35.53 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.5078, allocations: 0 / 0.5841 GB, free: 35.53 MB / 462.3 MB Notification: Performance of Templates: time 0.004243/0.512, allocations: 2.529 MB / 0.5866 GB, free: 34.24 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches