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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 104.9 kB / 17.06 MB, free: 5.992 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.001662/0.001662, allocations: 191.8 kB / 18 MB, free: 5.078 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.623/1.623, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.392/1.392, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 62.34 kB / 0.5709 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1912, allocations: 80.71 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.004806/0.1961, allocations: 1.413 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1979, allocations: 0.5691 MB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1981, allocations: 0 / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.201, allocations: 3.426 MB / 0.655 GB, free: 7.633 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.2039, allocations: 3.473 MB / 0.6584 GB, free: 4.152 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.2043, allocations: 79.78 kB / 0.6585 GB, free: 4.074 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.007286/0.2116, allocations: 8.551 MB / 0.6668 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.802e-05/0.2117, allocations: 4 kB / 0.6668 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007635/0.2194, allocations: 4.25 MB / 0.671 GB, free: 7.25 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01388/0.2333, allocations: 8.085 MB / 0.6789 GB, free: 15.15 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.002086/0.2354, allocations: 0.4922 MB / 0.6793 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.2372, allocations: 0.5663 MB / 0.6799 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02551/0.2627, allocations: 19.91 MB / 0.6993 GB, free: 10.13 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.02623/0.289, allocations: 11.25 MB / 0.7103 GB, free: 14.77 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.04756/0.3367, allocations: 24.74 MB / 0.7345 GB, free: 5.895 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 1.601e-05/0.3368, allocations: 0 / 0.7345 GB, free: 5.895 MB / 0.5764 GB Notification: Performance of FrontEnd: time 4.037e-06/0.3368, allocations: 3.938 kB / 0.7345 GB, free: 5.891 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001616/0.3384, allocations: 0 / 0.7345 GB, free: 5.891 MB / 0.5764 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.9775/1.316, allocations: 38.74 MB / 0.7723 GB, free: 84.43 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 7.159e-05/1.316, allocations: 9.312 kB / 0.7723 GB, free: 84.43 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008864/1.325, allocations: 4.401 MB / 0.7766 GB, free: 83.64 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1485/1.473, allocations: 51.58 MB / 0.827 GB, free: 45.41 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/1.473, allocations: 10.11 kB / 0.827 GB, free: 45.41 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/1.474, allocations: 125.3 kB / 0.8271 GB, free: 45.29 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/1.475, allocations: 1.52 MB / 0.8286 GB, free: 43.77 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.475, allocations: 0 / 0.8286 GB, free: 43.77 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/1.475, allocations: 131.9 kB / 0.8287 GB, free: 43.64 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.475, allocations: 0 / 0.8287 GB, free: 43.64 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/1.476, allocations: 0.8672 MB / 0.8296 GB, free: 42.77 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0323/1.509, allocations: 13.85 MB / 0.8431 GB, free: 28.86 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/1.51, allocations: 0.5259 MB / 0.8436 GB, free: 28.32 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007232/1.511, allocations: 0.5165 MB / 0.8441 GB, free: 27.8 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/1.511, allocations: 0 / 0.8441 GB, free: 27.8 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/1.512, allocations: 1.321 MB / 0.8454 GB, free: 26.47 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 4.308e-06/1.512, allocations: 0 / 0.8454 GB, free: 26.47 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.01324/1.526, allocations: 8.326 MB / 0.8536 GB, free: 18.07 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/1.526, allocations: 77.11 kB / 0.8536 GB, free: 17.98 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1186/1.644, allocations: 49.58 MB / 0.902 GB, free: 0.8164 MB / 0.6392 GB Notification: Performance of collectPreVariables (initialization): time 0.001256/1.646, allocations: 149.7 kB / 0.9022 GB, free: 0.6641 MB / 0.6392 GB Notification: Performance of collectInitialEqns (initialization): time 0.03428/1.68, allocations: 22.55 MB / 0.9242 GB, free: 10.1 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.681, allocations: 147.7 kB / 0.9244 GB, free: 9.957 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/1.683, allocations: 0.8776 MB / 0.9252 GB, free: 9.074 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.683, allocations: 315 kB / 0.9255 GB, free: 8.766 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008432/1.684, allocations: 0.5039 MB / 0.926 GB, free: 8.262 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/1.684, allocations: 0.5039 MB / 0.9265 GB, free: 7.758 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/1.686, allocations: 1.087 MB / 0.9276 GB, free: 6.66 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.686, allocations: 0 / 0.9276 GB, free: 6.66 MB / 0.6704 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01834/1.705, allocations: 7.816 MB / 0.9352 GB, free: 14.77 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-05/1.705, allocations: 37.62 kB / 0.9352 GB, free: 14.73 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.705, allocations: 0 / 0.9352 GB, free: 14.73 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/1.705, allocations: 4 kB / 0.9352 GB, free: 14.72 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/1.705, allocations: 5.344 kB / 0.9352 GB, free: 14.72 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.705, allocations: 0 / 0.9352 GB, free: 14.72 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009489/1.714, allocations: 129.4 kB / 0.9354 GB, free: 14.59 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00246/1.717, allocations: 1.717 MB / 0.937 GB, free: 12.88 MB / 0.686 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.02044/1.737, allocations: 9.671 MB / 0.9465 GB, free: 3.188 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0117/1.749, allocations: 4.529 MB / 0.9509 GB, free: 14.6 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01846/1.768, allocations: 5.115 MB / 0.9559 GB, free: 9.477 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/1.768, allocations: 0 / 0.9559 GB, free: 9.477 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.768, allocations: 0 / 0.9559 GB, free: 9.477 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.768, allocations: 4 kB / 0.9559 GB, free: 9.473 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04791/1.816, allocations: 15.07 MB / 0.9706 GB, free: 10.34 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.816, allocations: 3.938 kB / 0.9706 GB, free: 10.34 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/1.816, allocations: 7.969 kB / 0.9706 GB, free: 10.33 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/1.816, allocations: 3.938 kB / 0.9706 GB, free: 10.33 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001508/1.817, allocations: 380 kB / 0.971 GB, free: 9.957 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/1.817, allocations: 0.8125 kB / 0.971 GB, free: 9.957 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.817, allocations: 4 kB / 0.971 GB, free: 9.953 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/1.834, allocations: 8.147 MB / 0.979 GB, free: 1.723 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01278/1.847, allocations: 3.876 MB / 0.9827 GB, free: 13.77 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006568/1.854, allocations: 139.9 kB / 0.9829 GB, free: 13.63 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006976/1.861, allocations: 127.6 kB / 0.983 GB, free: 13.51 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/1.861, allocations: 7 kB / 0.983 GB, free: 13.51 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003336/1.864, allocations: 1.719 MB / 0.9847 GB, free: 11.79 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.08787/1.952, allocations: 34.49 MB / 1.018 GB, free: 9.602 MB / 0.7642 GB Notification: Performance of sort global known variables: time 9.72e-07/1.952, allocations: 0 / 1.018 GB, free: 9.602 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.01088/1.963, allocations: 1.249 MB / 1.02 GB, free: 8.355 MB / 0.7642 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.001342/1.964, allocations: 256.4 kB / 1.02 GB, free: 8.102 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.003702/1.968, allocations: 1.238 MB / 1.021 GB, free: 6.855 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.968, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.969, allocations: 0.7182 MB / 1.022 GB, free: 6.125 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02975/1.999, allocations: 3.375 MB / 1.025 GB, free: 2.746 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6475/2.647, allocations: 70.57 MB / 1.094 GB, free: 281.3 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0422/2.689, allocations: 17.33 MB / 1.111 GB, free: 276 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.02609/2.715, allocations: 9.432 MB / 1.12 GB, free: 271.3 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004968/2.72, allocations: 1.962 MB / 1.122 GB, free: 271.3 MB / 0.8267 GB Notification: Performance of SimCode: time 1.312e-06/2.72, allocations: 0 / 1.122 GB, free: 271.3 MB / 0.8267 GB Notification: Performance of Templates: time 0.4836/3.204, allocations: 167.3 MB / 1.285 GB, free: 125.9 MB / 0.8267 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches