Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0008464/0.0008466, allocations: 88.72 kB / 16.31 MB, free: 5.684 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.0009866/0.0009865, allocations: 184.8 kB / 17.21 MB, free: 5.598 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.154/1.154, allocations: 223.3 MB / 241.2 MB, free: 14.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7321/0.7321, allocations: 120.5 MB / 412.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.000255, allocations: 12 kB / 0.4943 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3957, allocations: 82.84 MB / 0.5752 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.0012/0.3969, allocations: 1.24 MB / 0.5764 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.3978, allocations: 0.8209 MB / 0.5772 GB, free: 39.79 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.3978, allocations: 1.188 kB / 0.5772 GB, free: 39.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.398, allocations: 61.97 kB / 0.5772 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.3983, allocations: 89.98 kB / 0.5773 GB, free: 39.7 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.3985, allocations: 90.86 kB / 0.5774 GB, free: 39.64 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3986, allocations: 105.9 kB / 0.5775 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.3986, allocations: 4.25 kB / 0.5775 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.3987, allocations: 63.89 kB / 0.5776 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.3988, allocations: 58.41 kB / 0.5776 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3989, allocations: 2.469 kB / 0.5776 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.3989, allocations: 23.06 kB / 0.5777 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.399, allocations: 71.22 kB / 0.5777 GB, free: 39.47 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.3991, allocations: 48.89 kB / 0.5778 GB, free: 39.42 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.3992, allocations: 109 kB / 0.5779 GB, free: 39.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3992, allocations: 1.25 kB / 0.5779 GB, free: 39.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3992, allocations: 0 / 0.5779 GB, free: 39.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.065e-06/0.3992, allocations: 0 / 0.5779 GB, free: 39.36 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.000365/0.3996, allocations: 482.8 kB / 0.5783 GB, free: 38.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.548e-05/0.3996, allocations: 13.03 kB / 0.5784 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.3996, allocations: 16.91 kB / 0.5784 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3999, allocations: 320 kB / 0.5787 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4, allocations: 9.312 kB / 0.5787 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.4, allocations: 5.375 kB / 0.5787 GB, free: 38.56 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.38e-05/0.4001, allocations: 47.3 kB / 0.5787 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.4001, allocations: 0 / 0.5787 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.4001, allocations: 5.375 kB / 0.5787 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4001, allocations: 3.953 kB / 0.5787 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.4002, allocations: 16.23 kB / 0.5788 GB, free: 38.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.4003, allocations: 211.7 kB / 0.579 GB, free: 38.27 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.4004, allocations: 54.86 kB / 0.579 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.4005, allocations: 16.36 kB / 0.579 GB, free: 38.22 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.4005, allocations: 9.328 kB / 0.579 GB, free: 38.21 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.4006, allocations: 67.66 kB / 0.5791 GB, free: 38.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.4006, allocations: 0 / 0.5791 GB, free: 38.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002128/0.4009, allocations: 103.4 kB / 0.5792 GB, free: 38.08 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.4009, allocations: 56.36 kB / 0.5793 GB, free: 38.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.4011, allocations: 278 kB / 0.5795 GB, free: 37.83 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.4011, allocations: 33.64 kB / 0.5796 GB, free: 37.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.4012, allocations: 138.9 kB / 0.5797 GB, free: 37.66 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.4012, allocations: 15.22 kB / 0.5797 GB, free: 37.65 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.4012, allocations: 0 / 0.5797 GB, free: 37.65 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.919e-05/0.4012, allocations: 333.5 kB / 0.58 GB, free: 37.32 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.9e-05/0.4013, allocations: 15.05 kB / 0.58 GB, free: 37.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.97e-05/0.4013, allocations: 27.41 kB / 0.5801 GB, free: 37.29 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.058e-05/0.4014, allocations: 20.98 kB / 0.5801 GB, free: 37.28 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4014, allocations: 1.219 kB / 0.5801 GB, free: 37.28 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001263/0.4015, allocations: 91.09 kB / 0.5802 GB, free: 37.22 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.4015, allocations: 4.719 kB / 0.5802 GB, free: 37.22 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4015, allocations: 1.188 kB / 0.5802 GB, free: 37.22 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.4015, allocations: 0 / 0.5802 GB, free: 37.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.4016, allocations: 12.91 kB / 0.5802 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.4016, allocations: 9.344 kB / 0.5802 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.4017, allocations: 3.312 kB / 0.5802 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.4017, allocations: 3.094 kB / 0.5802 GB, free: 37.21 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.4018, allocations: 145.4 kB / 0.5803 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.4018, allocations: 27.03 kB / 0.5804 GB, free: 37.06 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.4018, allocations: 22.64 kB / 0.5804 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4018, allocations: 1.875 kB / 0.5804 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4018, allocations: 0 / 0.5804 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4018, allocations: 3.953 kB / 0.5804 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.417e-05/0.4019, allocations: 216.6 kB / 0.5806 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4019, allocations: 4 kB / 0.5806 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.402, allocations: 4.469 kB / 0.5806 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.402, allocations: 4 kB / 0.5806 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.402, allocations: 1.531 kB / 0.5806 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.402, allocations: 0 / 0.5806 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.402, allocations: 0 / 0.5806 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.4021, allocations: 122.2 kB / 0.5807 GB, free: 36.7 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.4022, allocations: 104.1 kB / 0.5808 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.4022, allocations: 1.719 kB / 0.5808 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.4023, allocations: 7.531 kB / 0.5808 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.4023, allocations: 5.297 kB / 0.5808 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.4023, allocations: 9.5 kB / 0.5808 GB, free: 36.57 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001353/0.4024, allocations: 203.2 kB / 0.581 GB, free: 36.44 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4024, allocations: 0 / 0.581 GB, free: 36.44 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001971/0.4027, allocations: 22.98 kB / 0.5811 GB, free: 36.43 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 (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.0007437/0.4034, allocations: 406.1 kB / 0.5815 GB, free: 36.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.4035, allocations: 43.36 kB / 0.5815 GB, free: 36.21 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.4035, allocations: 0 / 0.5815 GB, free: 36.21 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.644e-05/0.4036, allocations: 20.31 kB / 0.5815 GB, free: 36.21 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.4038, allocations: 37.89 kB / 0.5815 GB, free: 36.18 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.4042, allocations: 352 kB / 0.5819 GB, free: 35.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.4043, allocations: 0.7347 MB / 0.5826 GB, free: 35.21 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 9.386e-05/0.4044, allocations: 42.11 kB / 0.5826 GB, free: 35.19 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.4045, allocations: 25.19 kB / 0.5827 GB, free: 35.18 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4045, allocations: 0 / 0.5827 GB, free: 35.18 MB / 462.3 MB Notification: Performance of Templates: time 0.003578/0.4081, allocations: 1.615 MB / 0.5842 GB, free: 34.37 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches