Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0008398/0.0008399, allocations: 90.8 kB / 16.65 MB, free: 6.535 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.0008983/0.0008984, allocations: 179.8 kB / 17.56 MB, free: 6.176 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.114/1.114, allocations: 223.2 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7144/0.7144, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002388/0.0002388, allocations: 8 kB / 0.4949 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3792, allocations: 82.85 MB / 0.5758 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.00093/0.3802, allocations: 1.122 MB / 0.5769 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006658/0.3808, allocations: 0.5737 MB / 0.5774 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.3809, allocations: 0 / 0.5774 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.381, allocations: 19.02 kB / 0.5775 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.3812, allocations: 60.08 kB / 0.5775 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.3814, allocations: 56.28 kB / 0.5776 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 7.533e-05/0.3814, allocations: 81.38 kB / 0.5776 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.3815, allocations: 3.656 kB / 0.5777 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.3816, allocations: 44.61 kB / 0.5777 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.666e-05/0.3817, allocations: 42.06 kB / 0.5777 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3817, allocations: 3.125 kB / 0.5777 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.828e-05/0.3818, allocations: 83.23 kB / 0.5778 GB, free: 40.4 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.077e-05/0.3819, allocations: 57.03 kB / 0.5779 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.3819, allocations: 72.25 kB / 0.5779 GB, free: 40.31 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3821, allocations: 149 kB / 0.5781 GB, free: 40.21 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3821, allocations: 0 / 0.5781 GB, free: 40.21 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3821, allocations: 5.438 kB / 0.5781 GB, free: 40.21 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.247e-06/0.3821, allocations: 0 / 0.5781 GB, free: 40.21 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.0002981/0.3824, allocations: 456 kB / 0.5785 GB, free: 39.74 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.3824, allocations: 9.625 kB / 0.5785 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.3825, allocations: 17 kB / 0.5785 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3827, allocations: 310.5 kB / 0.5788 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3827, allocations: 1.75 kB / 0.5788 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.3828, allocations: 3.125 kB / 0.5788 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.528e-05/0.3829, allocations: 67.66 kB / 0.5789 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.3829, allocations: 4 kB / 0.5789 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3829, allocations: 1.375 kB / 0.5789 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.3829, allocations: 1.375 kB / 0.5789 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.3829, allocations: 16.38 kB / 0.5789 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.3831, allocations: 199.6 kB / 0.5791 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.923e-05/0.3831, allocations: 38.94 kB / 0.5792 GB, free: 39.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.3832, allocations: 38.48 kB / 0.5792 GB, free: 39.1 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.3832, allocations: 4 kB / 0.5792 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.3833, allocations: 106.9 kB / 0.5793 GB, free: 38.99 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3833, allocations: 0 / 0.5793 GB, free: 38.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002158/0.3835, allocations: 166.8 kB / 0.5795 GB, free: 38.88 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.3835, allocations: 78.48 kB / 0.5795 GB, free: 38.79 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3837, allocations: 235.9 kB / 0.5798 GB, free: 38.63 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.3837, allocations: 28.45 kB / 0.5798 GB, free: 38.6 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.3837, allocations: 124.4 kB / 0.5799 GB, free: 38.48 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3838, allocations: 22.39 kB / 0.5799 GB, free: 38.46 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.3838, allocations: 17.84 kB / 0.5799 GB, free: 38.44 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.654e-05/0.3838, allocations: 328.3 kB / 0.5803 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.3839, allocations: 17.61 kB / 0.5803 GB, free: 38.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.3839, allocations: 17.56 kB / 0.5803 GB, free: 38.1 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.084e-05/0.384, allocations: 106.4 kB / 0.5804 GB, free: 38.01 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.384, allocations: 0 / 0.5804 GB, free: 38.01 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001387/0.3841, allocations: 152.3 kB / 0.5805 GB, free: 37.9 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3842, allocations: 41.11 kB / 0.5806 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.3842, allocations: 0.9062 kB / 0.5806 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.3842, allocations: 0 / 0.5806 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-05/0.3842, allocations: 4.594 kB / 0.5806 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.3842, allocations: 0 / 0.5806 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.3843, allocations: 11.58 kB / 0.5806 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.3843, allocations: 6.469 kB / 0.5806 GB, free: 37.86 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 8.212e-05/0.3844, allocations: 172.4 kB / 0.5808 GB, free: 37.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.3844, allocations: 21.91 kB / 0.5808 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.3844, allocations: 25.7 kB / 0.5808 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3844, allocations: 0.9062 kB / 0.5808 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3845, allocations: 0 / 0.5808 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3845, allocations: 0.9375 kB / 0.5808 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.598e-05/0.3845, allocations: 210.3 kB / 0.581 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3846, allocations: 0 / 0.581 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.3846, allocations: 10.69 kB / 0.581 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3846, allocations: 1.406 kB / 0.581 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3846, allocations: 7.062 kB / 0.581 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3846, allocations: 0.9688 kB / 0.581 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3846, allocations: 0 / 0.581 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.3848, allocations: 201 kB / 0.5812 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.3848, allocations: 101.2 kB / 0.5813 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.3849, allocations: 11.61 kB / 0.5813 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.3849, allocations: 2.781 kB / 0.5813 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.3849, allocations: 1.844 kB / 0.5813 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.385, allocations: 11.38 kB / 0.5813 GB, free: 37.15 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3851, allocations: 175.1 kB / 0.5815 GB, free: 37.04 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3851, allocations: 4.906 kB / 0.5815 GB, free: 37.03 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002013/0.3853, allocations: 34.47 kB / 0.5816 GB, free: 37.03 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.0001128/0.3854, allocations: 126.5 kB / 0.5817 GB, free: 36.93 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.3856, allocations: 142.9 kB / 0.5818 GB, free: 36.82 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.3856, allocations: 0 / 0.5818 GB, free: 36.82 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.854e-05/0.3856, allocations: 115.1 kB / 0.5819 GB, free: 36.72 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.3858, allocations: 16.92 kB / 0.5819 GB, free: 36.71 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.3862, allocations: 330 kB / 0.5822 GB, free: 36.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.3863, allocations: 0.7245 MB / 0.583 GB, free: 35.75 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.3863, allocations: 28.53 kB / 0.583 GB, free: 35.73 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.3864, allocations: 13.44 kB / 0.583 GB, free: 35.73 MB / 462.3 MB Notification: Performance of SimCode: time 1.8e-07/0.3864, allocations: 0 / 0.583 GB, free: 35.73 MB / 462.3 MB Notification: Performance of Templates: time 0.003127/0.3895, allocations: 1.29 MB / 0.5843 GB, free: 35.08 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches