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.001105/0.001105, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001233/0.001233, allocations: 183.9 kB / 17.2 MB, free: 6.34 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.595/1.595, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.174/1.174, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 8 kB / 0.4941 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2372, allocations: 82.85 MB / 0.5751 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001961/0.2393, allocations: 1.103 MB / 0.5761 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2405, allocations: 0.5148 MB / 0.5766 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.2406, allocations: 0 / 0.5766 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.2408, allocations: 23.91 kB / 0.5767 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.2411, allocations: 63.86 kB / 0.5767 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.2415, allocations: 47.89 kB / 0.5768 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.2416, allocations: 55.91 kB / 0.5768 GB, free: 6.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.2417, allocations: 4 kB / 0.5768 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.2419, allocations: 47.83 kB / 0.5769 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.242, allocations: 47.83 kB / 0.5769 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.2421, allocations: 4 kB / 0.5769 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.2422, allocations: 63.88 kB / 0.577 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2423, allocations: 59.88 kB / 0.577 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2425, allocations: 45.58 kB / 0.5771 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.2427, allocations: 100 kB / 0.5772 GB, free: 5.949 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2427, allocations: 0 / 0.5772 GB, free: 5.949 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.2427, allocations: 0 / 0.5772 GB, free: 5.949 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2427, allocations: 0 / 0.5772 GB, free: 5.949 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.0007986/0.2435, allocations: 464.2 kB / 0.5776 GB, free: 5.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2436, allocations: 8.031 kB / 0.5776 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.2437, allocations: 19.77 kB / 0.5776 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.2442, allocations: 307.3 kB / 0.5779 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2442, allocations: 0 / 0.5779 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.2443, allocations: 4 kB / 0.5779 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.2444, allocations: 49.62 kB / 0.578 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2444, allocations: 0 / 0.578 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2444, allocations: 7.984 kB / 0.578 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.2445, allocations: 15.94 kB / 0.578 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.184e-05/0.2445, allocations: 16 kB / 0.578 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.2448, allocations: 197.6 kB / 0.5782 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.563e-05/0.2449, allocations: 42.64 kB / 0.5783 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.2449, allocations: 4 kB / 0.5783 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.2451, allocations: 101.1 kB / 0.5784 GB, free: 4.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.2451, allocations: 7.938 kB / 0.5784 GB, free: 4.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000461/0.2456, allocations: 240.3 kB / 0.5786 GB, free: 4.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.2457, allocations: 85.09 kB / 0.5787 GB, free: 4.184 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.246, allocations: 233.4 kB / 0.5789 GB, free: 3.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.246, allocations: 25.7 kB / 0.5789 GB, free: 3.918 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.2461, allocations: 120.1 kB / 0.579 GB, free: 3.797 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.2461, allocations: 15.8 kB / 0.5791 GB, free: 3.781 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.2462, allocations: 4 kB / 0.5791 GB, free: 3.777 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2463, allocations: 326.8 kB / 0.5794 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.2464, allocations: 23.98 kB / 0.5794 GB, free: 3.426 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.2464, allocations: 19.94 kB / 0.5794 GB, free: 3.406 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/0.2465, allocations: 49.73 kB / 0.5795 GB, free: 3.352 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2465, allocations: 0 / 0.5795 GB, free: 3.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002029/0.2467, allocations: 147.2 kB / 0.5796 GB, free: 3.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.2467, allocations: 33.7 kB / 0.5796 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2468, allocations: 0 / 0.5796 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2468, allocations: 3.938 kB / 0.5796 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.2469, allocations: 7.984 kB / 0.5796 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2469, allocations: 0 / 0.5796 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.2469, allocations: 19.86 kB / 0.5797 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.247, allocations: 8 kB / 0.5797 GB, free: 3.117 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.0001813/0.2472, allocations: 173.5 kB / 0.5798 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.2472, allocations: 15.81 kB / 0.5798 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.2473, allocations: 25.39 kB / 0.5799 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2473, allocations: 0 / 0.5799 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2473, allocations: 0 / 0.5799 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2473, allocations: 0 / 0.5799 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.2475, allocations: 221.5 kB / 0.5801 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.2475, allocations: 4 kB / 0.5801 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.2475, allocations: 4 kB / 0.5801 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2475, allocations: 3.938 kB / 0.5801 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2475, allocations: 4 kB / 0.5801 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2475, allocations: 0 / 0.5801 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2476, allocations: 3.984 kB / 0.5801 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.2478, allocations: 198.5 kB / 0.5803 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.04e-05/0.2479, allocations: 104.8 kB / 0.5804 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.248, allocations: 8 kB / 0.5804 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/0.248, allocations: 4 kB / 0.5804 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.2481, allocations: 4 kB / 0.5804 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.2481, allocations: 8 kB / 0.5804 GB, free: 2.238 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.2482, allocations: 172.5 kB / 0.5806 GB, free: 2.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2483, allocations: 0 / 0.5806 GB, free: 2.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000243/0.2485, allocations: 39.98 kB / 0.5806 GB, free: 2.031 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.0001879/0.2487, allocations: 115.2 kB / 0.5807 GB, free: 1.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.249, allocations: 143.4 kB / 0.5809 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.249, allocations: 0 / 0.5809 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2491, allocations: 115.3 kB / 0.581 GB, free: 1.633 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2493, allocations: 24.56 kB / 0.581 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.2499, allocations: 302.7 kB / 0.5813 GB, free: 1.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.2503, allocations: 0.7305 MB / 0.582 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.434e-05/0.2504, allocations: 33.33 kB / 0.582 GB, free: 0.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.2505, allocations: 11.44 kB / 0.582 GB, free: 500 kB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2505, allocations: 0 / 0.582 GB, free: 500 kB / 446.1 MB Notification: Performance of Templates: time 0.6117/0.8622, allocations: 1.264 MB / 0.5833 GB, free: 15.76 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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