Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 114.8 kB / 17.07 MB, free: 6.016 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.00159/0.00159, allocations: 190.1 kB / 18 MB, free: 5.098 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.496/1.496, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.212/1.212, allocations: 119.3 MB / 411.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.03 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1889, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002704/0.1916, allocations: 1.409 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1927, allocations: 0.5652 MB / 0.6517 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.1928, allocations: 0 / 0.6517 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.1931, allocations: 119.8 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.1935, allocations: 163.7 kB / 0.6519 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.1938, allocations: 79.8 kB / 0.652 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.1942, allocations: 345.4 kB / 0.6523 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.1942, allocations: 7.938 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1945, allocations: 169.7 kB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003497/0.1948, allocations: 287.7 kB / 0.6528 GB, free: 9.93 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.1949, allocations: 16 kB / 0.6528 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1951, allocations: 95.92 kB / 0.6529 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0007303/0.1958, allocations: 0.6293 MB / 0.6535 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.1961, allocations: 384.3 kB / 0.6539 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0008646/0.197, allocations: 0.8577 MB / 0.6547 GB, free: 7.949 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.197, allocations: 11.98 kB / 0.6547 GB, free: 7.938 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.914e-06/0.197, allocations: 0 / 0.6547 GB, free: 7.938 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.1971, allocations: 0 / 0.6547 GB, free: 7.938 MB / 0.4983 GB 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.001883/0.199, allocations: 1.623 MB / 0.6563 GB, free: 6.25 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.199, allocations: 12.03 kB / 0.6563 GB, free: 6.238 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.1992, allocations: 155.9 kB / 0.6565 GB, free: 6.086 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.2018, allocations: 1.775 MB / 0.6582 GB, free: 4.266 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2018, allocations: 4.359 kB / 0.6582 GB, free: 4.262 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.2018, allocations: 12.38 kB / 0.6582 GB, free: 4.25 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.202, allocations: 93.95 kB / 0.6583 GB, free: 4.152 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.202, allocations: 0 / 0.6583 GB, free: 4.152 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.2021, allocations: 8 kB / 0.6583 GB, free: 4.145 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2021, allocations: 0 / 0.6583 GB, free: 4.145 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.2022, allocations: 51.92 kB / 0.6584 GB, free: 4.094 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.2029, allocations: 0.5774 MB / 0.6589 GB, free: 3.469 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.203, allocations: 58.56 kB / 0.659 GB, free: 3.402 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.2031, allocations: 40.86 kB / 0.659 GB, free: 3.359 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2031, allocations: 4 kB / 0.659 GB, free: 3.355 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.2034, allocations: 137 kB / 0.6591 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.2034, allocations: 0 / 0.6591 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.000637/0.204, allocations: 426.2 kB / 0.6596 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.2041, allocations: 81.11 kB / 0.6596 GB, free: 2.676 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.2059, allocations: 1.636 MB / 0.6612 GB, free: 1.043 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.206, allocations: 37.7 kB / 0.6613 GB, free: 1 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005855/0.2066, allocations: 0.6256 MB / 0.6619 GB, free: 380 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.2066, allocations: 19.91 kB / 0.6619 GB, free: 360 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.2067, allocations: 49.7 kB / 0.6619 GB, free: 304 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2069, allocations: 310 kB / 0.6622 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.2069, allocations: 28 kB / 0.6623 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.207, allocations: 35.98 kB / 0.6623 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2072, allocations: 140.2 kB / 0.6624 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2072, allocations: 4 kB / 0.6624 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004786/0.2077, allocations: 386.2 kB / 0.6628 GB, free: 15.38 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.2077, allocations: 37.69 kB / 0.6628 GB, free: 15.34 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2077, allocations: 0 / 0.6628 GB, free: 15.34 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2078, allocations: 0 / 0.6628 GB, free: 15.34 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.2078, allocations: 7.938 kB / 0.6628 GB, free: 15.33 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2079, allocations: 0 / 0.6628 GB, free: 15.33 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.208, allocations: 11.94 kB / 0.6629 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.2081, allocations: 56 kB / 0.6629 GB, free: 15.26 MB / 0.5139 GB 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 0.0005032/0.2086, allocations: 460.3 kB / 0.6633 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.2087, allocations: 162.9 kB / 0.6635 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.2089, allocations: 170.8 kB / 0.6637 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2089, allocations: 0 / 0.6637 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2089, allocations: 0 / 0.6637 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.209, allocations: 4 kB / 0.6637 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.2096, allocations: 0.632 MB / 0.6643 GB, free: 13.78 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2096, allocations: 0 / 0.6643 GB, free: 13.78 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.2096, allocations: 7.938 kB / 0.6643 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2096, allocations: 0 / 0.6643 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.2097, allocations: 20 kB / 0.6643 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2097, allocations: 3.938 kB / 0.6643 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2097, allocations: 0 / 0.6643 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.2102, allocations: 430.4 kB / 0.6647 GB, free: 13.3 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.2105, allocations: 224.2 kB / 0.6649 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.2105, allocations: 8 kB / 0.665 GB, free: 13.06 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2107, allocations: 8 kB / 0.665 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.2107, allocations: 11.97 kB / 0.665 GB, free: 13.04 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/0.2108, allocations: 67.94 kB / 0.665 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001344/0.2121, allocations: 1.139 MB / 0.6661 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2121, allocations: 0 / 0.6661 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003112/0.2125, allocations: 75.92 kB / 0.6662 GB, free: 11.77 MB / 0.5139 GB 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.0002119/0.2127, allocations: 135.4 kB / 0.6663 GB, free: 11.63 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.213, allocations: 171.4 kB / 0.6665 GB, free: 11.45 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.213, allocations: 0 / 0.6665 GB, free: 11.45 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2131, allocations: 131.3 kB / 0.6666 GB, free: 11.31 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.2136, allocations: 118.4 kB / 0.6667 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.2163, allocations: 2.141 MB / 0.6688 GB, free: 9.02 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008753/0.2172, allocations: 1.184 MB / 0.67 GB, free: 7.809 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0006041/0.2178, allocations: 301.6 kB / 0.6703 GB, free: 7.508 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.219e-05/0.2179, allocations: 71.44 kB / 0.6704 GB, free: 7.438 MB / 0.5139 GB Notification: Performance of SimCode: time 2.3e-07/0.2179, allocations: 0 / 0.6704 GB, free: 7.438 MB / 0.5139 GB Notification: Performance of Templates: time 0.01492/0.2328, allocations: 5.748 MB / 0.676 GB, free: 1.609 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches