Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 111.7 kB / 17.29 MB, free: 6.207 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.001636/0.001636, allocations: 197.3 kB / 18.21 MB, free: 5.281 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.4/1.4, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.106/1.106, allocations: 119.3 MB / 411.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.91 kB / 0.4911 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5916/0.5931, allocations: 80.68 MB / 0.5699 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.003101/0.5962, allocations: 1.634 MB / 0.5715 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.5977, allocations: 0.8781 MB / 0.5723 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.981e-05/0.5978, allocations: 1.562 kB / 0.5723 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005937/0.6038, allocations: 6.879 MB / 0.579 GB, free: 37.98 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.6076, allocations: 3.506 MB / 0.5825 GB, free: 36.2 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.6081, allocations: 89.89 kB / 0.5825 GB, free: 36.14 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007625/0.6157, allocations: 8.592 MB / 0.5909 GB, free: 28.26 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.6159, allocations: 7.984 kB / 0.5909 GB, free: 28.25 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006644/0.6225, allocations: 4.266 MB / 0.5951 GB, free: 23.98 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007035/0.6296, allocations: 8.092 MB / 0.603 GB, free: 15.87 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.6311, allocations: 0.4922 MB / 0.6035 GB, free: 15.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009531/0.632, allocations: 0.5234 MB / 0.604 GB, free: 14.86 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01645/0.6485, allocations: 19.92 MB / 0.6235 GB, free: 10.89 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01847/0.667, allocations: 11.26 MB / 0.6345 GB, free: 15.5 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02186/0.6889, allocations: 18.61 MB / 0.6526 GB, free: 12.84 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.689, allocations: 0 / 0.6526 GB, free: 12.84 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.233e-05/0.689, allocations: 4 kB / 0.6526 GB, free: 12.84 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001108/0.6901, allocations: 0 / 0.6526 GB, free: 12.84 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.06135/0.7515, allocations: 38.77 MB / 0.6905 GB, free: 5.672 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/0.7516, allocations: 15.89 kB / 0.6905 GB, free: 5.656 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009611/0.7612, allocations: 4.407 MB / 0.6948 GB, free: 1.191 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1228/0.884, allocations: 51.59 MB / 0.7452 GB, free: 13.25 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.8841, allocations: 384 / 0.7452 GB, free: 13.25 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.8841, allocations: 8.125 kB / 0.7452 GB, free: 13.25 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.8843, allocations: 49.67 kB / 0.7452 GB, free: 13.19 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8843, allocations: 0 / 0.7452 GB, free: 13.19 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.8844, allocations: 7.938 kB / 0.7453 GB, free: 13.18 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.8844, allocations: 0 / 0.7453 GB, free: 13.18 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-05/0.8845, allocations: 15.98 kB / 0.7453 GB, free: 13.17 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6324/1.517, allocations: 13.74 MB / 0.7587 GB, free: 135.1 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/1.517, allocations: 51.92 kB / 0.7587 GB, free: 135.1 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.741e-05/1.517, allocations: 24.39 kB / 0.7588 GB, free: 135 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/1.517, allocations: 0.9062 kB / 0.7588 GB, free: 135 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/1.518, allocations: 68.33 kB / 0.7588 GB, free: 135 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 2.745e-06/1.518, allocations: 0.5312 kB / 0.7588 GB, free: 135 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.01084/1.528, allocations: 4.608 MB / 0.7633 GB, free: 134.9 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.529, allocations: 55.75 kB / 0.7634 GB, free: 134.9 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09579/1.624, allocations: 50.58 MB / 0.8128 GB, free: 113 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/1.624, allocations: 29.7 kB / 0.8128 GB, free: 112.9 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02166/1.646, allocations: 23.58 MB / 0.8358 GB, free: 89.34 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/1.646, allocations: 9.938 kB / 0.8358 GB, free: 89.34 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/1.646, allocations: 17.72 kB / 0.8359 GB, free: 89.31 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.649e-05/1.646, allocations: 316.5 kB / 0.8362 GB, free: 89 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/1.647, allocations: 12 kB / 0.8362 GB, free: 88.99 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/1.647, allocations: 29.7 kB / 0.8362 GB, free: 88.95 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/1.647, allocations: 49.02 kB / 0.8362 GB, free: 88.9 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.647, allocations: 2.438 kB / 0.8362 GB, free: 88.9 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.006887/1.654, allocations: 4.598 MB / 0.8407 GB, free: 86.74 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.654, allocations: 4 kB / 0.8407 GB, free: 86.74 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.654, allocations: 0 / 0.8407 GB, free: 86.74 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.654, allocations: 0 / 0.8407 GB, free: 86.74 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/1.654, allocations: 8 kB / 0.8407 GB, free: 86.73 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.654, allocations: 7.984 kB / 0.8408 GB, free: 86.72 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007623/1.661, allocations: 137.3 kB / 0.8409 GB, free: 86.59 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.661, allocations: 3 kB / 0.8409 GB, free: 86.59 MB / 0.5923 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.01219/1.674, allocations: 9.397 MB / 0.8501 GB, free: 77.17 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007425/1.681, allocations: 4.648 MB / 0.8546 GB, free: 72.46 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.693, allocations: 5.118 MB / 0.8596 GB, free: 67.34 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.693, allocations: 4 kB / 0.8596 GB, free: 67.33 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.693, allocations: 3.125 kB / 0.8596 GB, free: 67.33 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.693, allocations: 6.938 kB / 0.8596 GB, free: 67.33 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03751/1.73, allocations: 15.07 MB / 0.8743 GB, free: 52.19 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.73, allocations: 0 / 0.8743 GB, free: 52.19 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.058e-05/1.73, allocations: 3.938 kB / 0.8743 GB, free: 52.19 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/1.73, allocations: 4 kB / 0.8743 GB, free: 52.18 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/1.73, allocations: 0 / 0.8743 GB, free: 52.18 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.73, allocations: 0 / 0.8743 GB, free: 52.18 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.73, allocations: 0 / 0.8743 GB, free: 52.18 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008866/1.739, allocations: 5.043 MB / 0.8793 GB, free: 47.07 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009547/1.749, allocations: 3.508 MB / 0.8827 GB, free: 43.49 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006602/1.756, allocations: 132 kB / 0.8828 GB, free: 43.36 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006881/1.762, allocations: 128 kB / 0.8829 GB, free: 43.23 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/1.763, allocations: 7.922 kB / 0.8829 GB, free: 43.22 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/1.763, allocations: 7 kB / 0.883 GB, free: 43.22 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06578/1.828, allocations: 35.01 MB / 0.9171 GB, free: 8.516 MB / 0.5923 GB Notification: Performance of sort global known variables: time 8.92e-07/1.828, allocations: 0 / 0.9171 GB, free: 8.516 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.007604/1.836, allocations: 1.234 MB / 0.9183 GB, free: 7.281 MB / 0.5923 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00105/1.837, allocations: 416.3 kB / 0.9187 GB, free: 7.055 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.0002474/1.837, allocations: 38.98 kB / 0.9188 GB, free: 7.02 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.837, allocations: 0 / 0.9188 GB, free: 7.02 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 6.762e-05/1.837, allocations: 23.92 kB / 0.9188 GB, free: 6.996 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02167/1.859, allocations: 3.399 MB / 0.9221 GB, free: 3.598 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1376/1.997, allocations: 81.15 MB / 1.001 GB, free: 2.859 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0352/2.032, allocations: 17.35 MB / 1.018 GB, free: 1.461 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3562/2.388, allocations: 4.408 MB / 1.023 GB, free: 203.3 MB / 0.686 GB Notification: Performance of SimCode: time 1.593e-06/2.388, allocations: 0 / 1.023 GB, free: 203.3 MB / 0.686 GB Notification: Performance of Templates: time 19.22/21.6, allocations: 6.07 GB / 7.092 GB, free: 193.5 MB / 0.7798 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches