Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 190.4 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 102.8 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.919/0.919, allocations: 119.3 MB / 460.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 55.86 kB / 0.5391 GB, free: 43.16 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1688, allocations: 80.7 MB / 0.6179 GB, free: 12.7 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.003727/0.1726, allocations: 1.466 MB / 0.6194 GB, free: 11.22 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1739, allocations: 0.5883 MB / 0.6199 GB, free: 10.62 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.097e-05/0.174, allocations: 0 / 0.6199 GB, free: 10.62 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.177, allocations: 3.426 MB / 0.6233 GB, free: 7.191 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.1795, allocations: 3.469 MB / 0.6267 GB, free: 3.715 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.1799, allocations: 59.88 kB / 0.6267 GB, free: 3.656 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.007427/0.1873, allocations: 8.543 MB / 0.6351 GB, free: 11.1 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.274e-05/0.1874, allocations: 3.984 kB / 0.6351 GB, free: 11.09 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007299/0.1947, allocations: 4.25 MB / 0.6392 GB, free: 6.84 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01014/0.2049, allocations: 7.592 MB / 0.6466 GB, free: 15.23 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.2068, allocations: 500 kB / 0.6471 GB, free: 14.75 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.2087, allocations: 0.5624 MB / 0.6477 GB, free: 14.18 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01935/0.2281, allocations: 19.9 MB / 0.6671 GB, free: 10.23 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02044/0.2485, allocations: 11.25 MB / 0.6781 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.6303/0.8789, allocations: 23.75 MB / 0.7013 GB, free: 45.42 MB / 0.495 GB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.8789, allocations: 0.6562 kB / 0.7013 GB, free: 45.42 MB / 0.495 GB Notification: Performance of FrontEnd: time 1.453e-06/0.879, allocations: 3.156 kB / 0.7013 GB, free: 45.42 MB / 0.495 GB Notification: Performance of Transformations before backend: time 0.001948/0.8809, allocations: 0 / 0.7013 GB, free: 45.42 MB / 0.495 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.09661/0.9775, allocations: 38.76 MB / 0.7391 GB, free: 19.99 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.9776, allocations: 7.656 kB / 0.7391 GB, free: 19.99 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00862/0.9862, allocations: 4.4 MB / 0.7434 GB, free: 17.49 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1537/1.14, allocations: 51.58 MB / 0.7938 GB, free: 1.414 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/1.14, allocations: 384 / 0.7938 GB, free: 1.414 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/1.14, allocations: 129.6 kB / 0.7939 GB, free: 1.289 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/1.142, allocations: 1.51 MB / 0.7954 GB, free: 15.77 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.142, allocations: 3.938 kB / 0.7954 GB, free: 15.77 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/1.143, allocations: 130 kB / 0.7955 GB, free: 15.65 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/1.143, allocations: 0 / 0.7955 GB, free: 15.65 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/1.144, allocations: 0.8809 MB / 0.7964 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03926/1.183, allocations: 13.84 MB / 0.8099 GB, free: 0.8633 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/1.185, allocations: 0.5247 MB / 0.8104 GB, free: 340 kB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009159/1.186, allocations: 0.5204 MB / 0.8109 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/1.186, allocations: 0.7188 kB / 0.8109 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/1.188, allocations: 1.318 MB / 0.8122 GB, free: 14.47 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=8): time 3.427e-06/1.188, allocations: 0 / 0.8122 GB, free: 14.47 MB / 0.5575 GB Notification: Performance of matching and sorting (n=8): time 0.01421/1.202, allocations: 8.321 MB / 0.8203 GB, free: 6.082 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/1.202, allocations: 84.11 kB / 0.8204 GB, free: 5.984 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1257/1.328, allocations: 49.58 MB / 0.8689 GB, free: 4.809 MB / 0.6044 GB Notification: Performance of collectPreVariables (initialization): time 0.001266/1.329, allocations: 153.7 kB / 0.869 GB, free: 4.652 MB / 0.6044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0365/1.366, allocations: 22.55 MB / 0.891 GB, free: 14.09 MB / 0.6357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001692/1.368, allocations: 140.4 kB / 0.8912 GB, free: 13.96 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/1.369, allocations: 0.8767 MB / 0.892 GB, free: 13.07 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.369, allocations: 310 kB / 0.8923 GB, free: 12.77 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000854/1.37, allocations: 0.5068 MB / 0.8928 GB, free: 12.26 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008205/1.371, allocations: 0.5049 MB / 0.8933 GB, free: 11.76 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/1.372, allocations: 1.081 MB / 0.8943 GB, free: 10.66 MB / 0.6357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.372, allocations: 0 / 0.8943 GB, free: 10.66 MB / 0.6357 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01383/1.386, allocations: 7.816 MB / 0.902 GB, free: 2.777 MB / 0.6357 GB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/1.386, allocations: 41.64 kB / 0.902 GB, free: 2.73 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.386, allocations: 3.094 kB / 0.902 GB, free: 2.73 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.386, allocations: 6.984 kB / 0.902 GB, free: 2.727 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/1.386, allocations: 4 kB / 0.902 GB, free: 2.723 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/1.386, allocations: 0 / 0.902 GB, free: 2.723 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006415/1.393, allocations: 128.5 kB / 0.9022 GB, free: 2.598 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/1.395, allocations: 1.711 MB / 0.9038 GB, free: 0.8867 MB / 0.6357 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.02346/1.419, allocations: 9.667 MB / 0.9133 GB, free: 7.195 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01106/1.43, allocations: 4.534 MB / 0.9177 GB, free: 2.605 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/1.447, allocations: 5.118 MB / 0.9227 GB, free: 13.48 MB / 0.6669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.447, allocations: 4 kB / 0.9227 GB, free: 13.47 MB / 0.6669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.447, allocations: 0 / 0.9227 GB, free: 13.47 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.447, allocations: 6.141 kB / 0.9227 GB, free: 13.47 MB / 0.6669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04725/1.494, allocations: 15.07 MB / 0.9374 GB, free: 14.34 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.494, allocations: 0 / 0.9374 GB, free: 14.34 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/1.495, allocations: 4 kB / 0.9374 GB, free: 14.34 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.495, allocations: 6.938 kB / 0.9374 GB, free: 14.33 MB / 0.6825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001649/1.496, allocations: 384 kB / 0.9378 GB, free: 13.96 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/1.496, allocations: 0 / 0.9378 GB, free: 13.96 MB / 0.6825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.496, allocations: 3 kB / 0.9378 GB, free: 13.96 MB / 0.6825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6893/2.186, allocations: 20 MB / 0.9573 GB, free: 230.3 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01609/2.202, allocations: 3.875 MB / 0.9611 GB, free: 230.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00888/2.211, allocations: 128.3 kB / 0.9612 GB, free: 230.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009101/2.22, allocations: 130.2 kB / 0.9614 GB, free: 230.2 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/2.22, allocations: 1.594 kB / 0.9614 GB, free: 230.2 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004801/2.225, allocations: 1.716 MB / 0.963 GB, free: 230 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.09963/2.324, allocations: 34.49 MB / 0.9967 GB, free: 214.2 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2.836e-06/2.325, allocations: 0 / 0.9967 GB, free: 214.2 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.007466/2.332, allocations: 1.257 MB / 0.9979 GB, free: 212.9 MB / 0.6828 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.0008368/2.333, allocations: 250.9 kB / 0.9982 GB, free: 212.7 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.001927/2.335, allocations: 1.236 MB / 0.9994 GB, free: 211.4 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/2.335, allocations: 3.391 kB / 0.9994 GB, free: 211.4 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/2.336, allocations: 0.7182 MB / 1 GB, free: 210.7 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02779/2.364, allocations: 3.377 MB / 1.003 GB, free: 207.3 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1428/2.506, allocations: 79.49 MB / 1.081 GB, free: 128.3 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0414/2.548, allocations: 17.33 MB / 1.098 GB, free: 110.9 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.03395/2.582, allocations: 9.325 MB / 1.107 GB, free: 101.6 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005322/2.587, allocations: 1.96 MB / 1.109 GB, free: 99.59 MB / 0.6828 GB Notification: Performance of SimCode: time 1.623e-06/2.587, allocations: 0 / 1.109 GB, free: 99.59 MB / 0.6828 GB Notification: Performance of Templates: time 0.8444/3.432, allocations: 167.2 MB / 1.272 GB, free: 201.9 MB / 0.6984 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches