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.0009659/0.000966, allocations: 87.12 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.0008442/0.0008442, allocations: 179.1 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.59/1.59, allocations: 223.3 MB / 241.2 MB, free: 5.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.098/1.098, allocations: 120.5 MB / 412.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 8 kB / 0.4943 GB, free: 9.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.201, allocations: 82.84 MB / 0.5752 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001987/0.203, allocations: 1.11 MB / 0.5762 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2042, allocations: 0.5265 MB / 0.5768 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.891e-05/0.2043, allocations: 4 kB / 0.5768 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.2045, allocations: 15.92 kB / 0.5768 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.2048, allocations: 59.86 kB / 0.5768 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.2052, allocations: 55.88 kB / 0.5769 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.2053, allocations: 67.81 kB / 0.577 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.555e-05/0.2054, allocations: 4 kB / 0.577 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.2056, allocations: 51.83 kB / 0.577 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.2058, allocations: 43.89 kB / 0.577 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.2058, allocations: 4 kB / 0.5771 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.206, allocations: 67.94 kB / 0.5771 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.2061, allocations: 55.86 kB / 0.5772 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.2062, allocations: 57.52 kB / 0.5772 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.2065, allocations: 92.03 kB / 0.5773 GB, free: 4.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2065, allocations: 0 / 0.5773 GB, free: 4.598 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2065, allocations: 0 / 0.5773 GB, free: 4.598 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2065, allocations: 0 / 0.5773 GB, free: 4.598 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007099/0.2072, allocations: 468.2 kB / 0.5778 GB, free: 4.086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.2073, allocations: 8.031 kB / 0.5778 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.2074, allocations: 19.77 kB / 0.5778 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.2078, allocations: 303.3 kB / 0.5781 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2078, allocations: 4 kB / 0.5781 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.2078, allocations: 4 kB / 0.5781 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.208, allocations: 53.62 kB / 0.5781 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.208, allocations: 0 / 0.5781 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.208, allocations: 7.984 kB / 0.5781 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.208, allocations: 3.953 kB / 0.5781 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.2081, allocations: 19.98 kB / 0.5782 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.2083, allocations: 209.5 kB / 0.5784 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.2084, allocations: 42.56 kB / 0.5784 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.2085, allocations: 28.86 kB / 0.5784 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.2085, allocations: 0 / 0.5784 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.2087, allocations: 101.1 kB / 0.5785 GB, free: 3.168 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 3.296e-06/0.2087, allocations: 0 / 0.5785 GB, free: 3.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003091/0.209, allocations: 171.1 kB / 0.5787 GB, free: 2.988 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.2091, allocations: 85.05 kB / 0.5788 GB, free: 2.887 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.2093, allocations: 233.5 kB / 0.579 GB, free: 2.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2093, allocations: 25.7 kB / 0.579 GB, free: 2.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.2094, allocations: 120.1 kB / 0.5791 GB, free: 2.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.2095, allocations: 15.8 kB / 0.5791 GB, free: 2.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.2095, allocations: 8 kB / 0.5792 GB, free: 2.477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2096, allocations: 326.8 kB / 0.5795 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.748e-05/0.2097, allocations: 23.92 kB / 0.5795 GB, free: 2.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.2097, allocations: 16 kB / 0.5795 GB, free: 2.109 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.833e-05/0.2098, allocations: 53.7 kB / 0.5796 GB, free: 2.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2098, allocations: 0 / 0.5796 GB, free: 2.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000183/0.21, allocations: 147.1 kB / 0.5797 GB, free: 1.895 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.21, allocations: 33.7 kB / 0.5797 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.21, allocations: 0 / 0.5797 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.21, allocations: 0 / 0.5797 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.2101, allocations: 7.984 kB / 0.5797 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2101, allocations: 0 / 0.5797 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.2102, allocations: 11.86 kB / 0.5797 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.2102, allocations: 12 kB / 0.5798 GB, free: 1.824 MB / 446.1 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.2104, allocations: 175.7 kB / 0.5799 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.2104, allocations: 19.81 kB / 0.5799 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.2104, allocations: 21.39 kB / 0.58 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2104, allocations: 4 kB / 0.58 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2105, allocations: 0 / 0.58 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2105, allocations: 0 / 0.58 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.2106, allocations: 217.5 kB / 0.5802 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2106, allocations: 0 / 0.5802 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.2107, allocations: 4.094 kB / 0.5802 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2107, allocations: 3.938 kB / 0.5802 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2107, allocations: 11.94 kB / 0.5802 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2107, allocations: 0 / 0.5802 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2107, allocations: 0 / 0.5802 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.211, allocations: 206.5 kB / 0.5804 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.211, allocations: 100.8 kB / 0.5805 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.2111, allocations: 4 kB / 0.5805 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.28e-05/0.2111, allocations: 8 kB / 0.5805 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.2112, allocations: 4 kB / 0.5805 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2112, allocations: 8 kB / 0.5805 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2113, allocations: 172.5 kB / 0.5807 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2113, allocations: 0 / 0.5807 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.2116, allocations: 35.98 kB / 0.5807 GB, free: 0.7344 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: 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 (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.0001742/0.2118, allocations: 123.2 kB / 0.5808 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.212, allocations: 139.3 kB / 0.581 GB, free: 468 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.212, allocations: 0 / 0.581 GB, free: 468 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.688e-05/0.2121, allocations: 115.7 kB / 0.5811 GB, free: 340 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.2123, allocations: 22.5 kB / 0.5811 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5483/0.7606, allocations: 301.3 kB / 0.5814 GB, free: 16.84 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.7609, allocations: 0.7274 MB / 0.5821 GB, free: 16.15 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.761, allocations: 25.52 kB / 0.5821 GB, free: 16.14 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.761, allocations: 15.94 kB / 0.5821 GB, free: 16.14 MB / 446.3 MB Notification: Performance of SimCode: time 9.02e-07/0.761, allocations: 0 / 0.5821 GB, free: 16.14 MB / 446.3 MB Notification: Performance of Templates: time 0.00631/0.7674, allocations: 1.269 MB / 0.5834 GB, free: 16.05 MB / 446.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/jenkins/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