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.001377/0.001377, allocations: 88.73 kB / 16.31 MB, free: 6.449 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.001894/0.001894, allocations: 183.8 kB / 17.21 MB, free: 6.32 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.487/1.487, allocations: 223.3 MB / 241.2 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.012/1.012, allocations: 120.5 MB / 412.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 11.98 kB / 0.4943 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1923, allocations: 82.84 MB / 0.5752 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002212/0.1946, allocations: 1.251 MB / 0.5764 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.196, allocations: 0.8114 MB / 0.5772 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.1961, allocations: 3.938 kB / 0.5772 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1964, allocations: 59.86 kB / 0.5772 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.1967, allocations: 91.7 kB / 0.5773 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.197, allocations: 87.83 kB / 0.5774 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1972, allocations: 103.7 kB / 0.5775 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.1972, allocations: 15.98 kB / 0.5775 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.1974, allocations: 67.7 kB / 0.5776 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1975, allocations: 47.83 kB / 0.5776 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1975, allocations: 4 kB / 0.5776 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.1976, allocations: 27.98 kB / 0.5777 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1978, allocations: 75.8 kB / 0.5777 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.1978, allocations: 37.64 kB / 0.5778 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.198, allocations: 116 kB / 0.5779 GB, free: 5.324 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.198, allocations: 3.938 kB / 0.5779 GB, free: 5.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.198, allocations: 0 / 0.5779 GB, free: 5.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.198, allocations: 0 / 0.5779 GB, free: 5.32 MB / 446.1 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.0006801/0.1987, allocations: 474.2 kB / 0.5783 GB, free: 4.809 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1988, allocations: 12.02 kB / 0.5783 GB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.1988, allocations: 19.77 kB / 0.5784 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.1993, allocations: 334.2 kB / 0.5787 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1993, allocations: 0 / 0.5787 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1993, allocations: 3.938 kB / 0.5787 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1995, allocations: 53.66 kB / 0.5787 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1995, allocations: 0 / 0.5787 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.1996, allocations: 0 / 0.5787 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1996, allocations: 7.891 kB / 0.5787 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.1996, allocations: 15.98 kB / 0.5788 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.1999, allocations: 213.7 kB / 0.579 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.2001, allocations: 50.62 kB / 0.579 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.2002, allocations: 20.84 kB / 0.579 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.2002, allocations: 0 / 0.579 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.2004, allocations: 71.33 kB / 0.5791 GB, free: 3.902 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.2004, allocations: 4 kB / 0.5791 GB, free: 3.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003034/0.2007, allocations: 101.5 kB / 0.5792 GB, free: 3.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.2008, allocations: 55.36 kB / 0.5793 GB, free: 3.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.2011, allocations: 278.6 kB / 0.5795 GB, free: 3.445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.2011, allocations: 29.7 kB / 0.5796 GB, free: 3.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2012, allocations: 132.1 kB / 0.5797 GB, free: 3.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.2013, allocations: 11.89 kB / 0.5797 GB, free: 3.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.2013, allocations: 7.938 kB / 0.5797 GB, free: 3.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2015, allocations: 334.8 kB / 0.58 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/0.2015, allocations: 15.98 kB / 0.58 GB, free: 2.906 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.2016, allocations: 29.64 kB / 0.5801 GB, free: 2.871 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/0.2017, allocations: 16 kB / 0.5801 GB, free: 2.855 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2017, allocations: 0 / 0.5801 GB, free: 2.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001509/0.2018, allocations: 89.41 kB / 0.5802 GB, free: 2.762 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2018, allocations: 4.031 kB / 0.5802 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2019, allocations: 4 kB / 0.5802 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.2019, allocations: 4 kB / 0.5802 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.202, allocations: 15.92 kB / 0.5802 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.202, allocations: 0 / 0.5802 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.202, allocations: 11.89 kB / 0.5802 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2021, allocations: 0 / 0.5802 GB, free: 2.723 MB / 446.1 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 0.0001345/0.2022, allocations: 147.4 kB / 0.5803 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.2022, allocations: 19.72 kB / 0.5804 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.2023, allocations: 29.45 kB / 0.5804 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2023, allocations: 0 / 0.5804 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2023, allocations: 0 / 0.5804 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2023, allocations: 0 / 0.5804 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.2025, allocations: 217.6 kB / 0.5806 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2025, allocations: 0 / 0.5806 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.2026, allocations: 8 kB / 0.5806 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.2026, allocations: 0 / 0.5806 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2026, allocations: 3.938 kB / 0.5806 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2026, allocations: 320 / 0.5806 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.2026, allocations: 11.91 kB / 0.5806 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.2028, allocations: 124.8 kB / 0.5807 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.2029, allocations: 100.9 kB / 0.5808 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.2029, allocations: 0 / 0.5808 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/0.203, allocations: 7.984 kB / 0.5808 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.203, allocations: 4 kB / 0.5808 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.203, allocations: 4 kB / 0.5808 GB, free: 1.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.2032, allocations: 205.9 kB / 0.581 GB, free: 1.758 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2032, allocations: 4 kB / 0.581 GB, free: 1.754 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.2035, allocations: 16 kB / 0.5811 GB, free: 1.738 MB / 446.1 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.001029/0.2045, allocations: 415.3 kB / 0.5815 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.2047, allocations: 39.92 kB / 0.5815 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2047, allocations: 0 / 0.5815 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.925e-05/0.2048, allocations: 19.98 kB / 0.5815 GB, free: 1.426 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.2051, allocations: 40.2 kB / 0.5816 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.2057, allocations: 351 kB / 0.5819 GB, free: 1.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.2061, allocations: 0.7362 MB / 0.5826 GB, free: 264 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.2062, allocations: 33.53 kB / 0.5826 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.2063, allocations: 31.36 kB / 0.5827 GB, free: 200 kB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2063, allocations: 0 / 0.5827 GB, free: 200 kB / 446.1 MB Notification: Performance of Templates: time 0.5594/0.7657, allocations: 1.6 MB / 0.5842 GB, free: 15.57 MB / 446.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/jenkins/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