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.0009753/0.0009755, allocations: 91.89 kB / 17.31 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.001121/0.001121, allocations: 179.2 kB / 18.22 MB, free: 5.676 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.413/1.413, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.122/1.122, allocations: 120.5 MB / 413.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003969, allocations: 11.98 kB / 0.4955 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/0.6667, allocations: 82.83 MB / 0.5764 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001631/0.6684, allocations: 1.111 MB / 0.5775 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.6695, allocations: 0.5812 MB / 0.5781 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.6695, allocations: 0.8438 kB / 0.5781 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.6697, allocations: 19.36 kB / 0.5781 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.67, allocations: 55.77 kB / 0.5782 GB, free: 40 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.6702, allocations: 66.69 kB / 0.5782 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.6704, allocations: 74.09 kB / 0.5783 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.546e-05/0.6704, allocations: 3.094 kB / 0.5783 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.6706, allocations: 49.77 kB / 0.5783 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.6707, allocations: 52.48 kB / 0.5784 GB, free: 39.87 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.6708, allocations: 3.125 kB / 0.5784 GB, free: 39.87 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.6709, allocations: 72.28 kB / 0.5785 GB, free: 39.83 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.671, allocations: 56.14 kB / 0.5785 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.539e-05/0.6711, allocations: 71.94 kB / 0.5786 GB, free: 39.74 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.6713, allocations: 108.7 kB / 0.5787 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6713, allocations: 0 / 0.5787 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6713, allocations: 1.062 kB / 0.5787 GB, free: 39.68 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.6714, allocations: 0 / 0.5787 GB, free: 39.68 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.0005421/0.6719, allocations: 464.6 kB / 0.5791 GB, free: 39.2 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.672, allocations: 9.094 kB / 0.5791 GB, free: 39.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.672, allocations: 16.72 kB / 0.5792 GB, free: 39.2 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.6725, allocations: 316.3 kB / 0.5795 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.6725, allocations: 384 / 0.5795 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.6725, allocations: 8 kB / 0.5795 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.6727, allocations: 54.53 kB / 0.5795 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6727, allocations: 0 / 0.5795 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.6727, allocations: 1.812 kB / 0.5795 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.6727, allocations: 0 / 0.5795 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.6728, allocations: 20.52 kB / 0.5795 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.673, allocations: 200.6 kB / 0.5797 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.941e-05/0.6731, allocations: 39.86 kB / 0.5798 GB, free: 38.58 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.6732, allocations: 37.05 kB / 0.5798 GB, free: 38.55 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.6732, allocations: 1.312 kB / 0.5798 GB, free: 38.55 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.6734, allocations: 98.34 kB / 0.5799 GB, free: 38.46 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.6734, allocations: 0 / 0.5799 GB, free: 38.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003511/0.6738, allocations: 169.5 kB / 0.5801 GB, free: 38.35 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.6738, allocations: 84.73 kB / 0.5801 GB, free: 38.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.674, allocations: 231.1 kB / 0.5804 GB, free: 38.09 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.6741, allocations: 31.95 kB / 0.5804 GB, free: 38.06 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.6741, allocations: 119.7 kB / 0.5805 GB, free: 37.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.6742, allocations: 19.94 kB / 0.5805 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.6742, allocations: 21.08 kB / 0.5806 GB, free: 37.91 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.6743, allocations: 328.5 kB / 0.5809 GB, free: 37.58 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.6744, allocations: 21.73 kB / 0.5809 GB, free: 37.57 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.6744, allocations: 21.34 kB / 0.5809 GB, free: 37.56 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.6745, allocations: 105.7 kB / 0.581 GB, free: 37.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6745, allocations: 4 kB / 0.581 GB, free: 37.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001757/0.6747, allocations: 145 kB / 0.5811 GB, free: 37.36 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.6747, allocations: 42.41 kB / 0.5812 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6748, allocations: 0 / 0.5812 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.6748, allocations: 0 / 0.5812 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.6748, allocations: 4.125 kB / 0.5812 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.6749, allocations: 0 / 0.5812 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.322e-05/0.6749, allocations: 7.797 kB / 0.5812 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.6749, allocations: 11.5 kB / 0.5812 GB, free: 37.32 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 0.0001206/0.6751, allocations: 179.8 kB / 0.5814 GB, free: 37.15 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.6751, allocations: 25.8 kB / 0.5814 GB, free: 37.13 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.6751, allocations: 17.09 kB / 0.5814 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6752, allocations: 1.469 kB / 0.5814 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6752, allocations: 0 / 0.5814 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6752, allocations: 1.406 kB / 0.5814 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.6753, allocations: 206.4 kB / 0.5816 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6753, allocations: 0 / 0.5816 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.6753, allocations: 10.14 kB / 0.5816 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6754, allocations: 1.312 kB / 0.5816 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.6754, allocations: 6.812 kB / 0.5816 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6754, allocations: 9.438 kB / 0.5816 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6754, allocations: 0 / 0.5816 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.6756, allocations: 197.1 kB / 0.5818 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.6757, allocations: 108.8 kB / 0.5819 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.6757, allocations: 4.25 kB / 0.5819 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.6758, allocations: 2.75 kB / 0.5819 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.6758, allocations: 10.64 kB / 0.582 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.6759, allocations: 18.81 kB / 0.582 GB, free: 36.59 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001361/0.676, allocations: 175.2 kB / 0.5821 GB, free: 36.48 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.676, allocations: 0 / 0.5821 GB, free: 36.48 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002345/0.6762, allocations: 34.25 kB / 0.5822 GB, free: 36.47 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.0001715/0.6764, allocations: 122.8 kB / 0.5823 GB, free: 36.38 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.6766, allocations: 139.4 kB / 0.5824 GB, free: 36.27 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6766, allocations: 0 / 0.5824 GB, free: 36.27 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.6767, allocations: 114.8 kB / 0.5825 GB, free: 36.17 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.6769, allocations: 20.86 kB / 0.5826 GB, free: 36.16 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.6775, allocations: 357 kB / 0.5829 GB, free: 35.88 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.6777, allocations: 0.7213 MB / 0.5836 GB, free: 35.17 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.6777, allocations: 14.31 kB / 0.5836 GB, free: 35.16 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.6777, allocations: 0 / 0.5836 GB, free: 35.16 MB / 462.3 MB Notification: Performance of Templates: time 0.004634/0.6824, allocations: 2.019 MB / 0.5856 GB, free: 34.13 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/jenkins1/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