Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008751/0.0008751, allocations: 94.44 kB / 16.65 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.0008889/0.000889, allocations: 179.9 kB / 17.56 MB, free: 6.176 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.139/1.139, allocations: 223.3 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.774/0.774, allocations: 120.5 MB / 413.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 8.188 kB / 0.4949 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4243, allocations: 82.84 MB / 0.5758 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000): time 0.001313/0.4256, allocations: 1.291 MB / 0.577 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009574/0.4266, allocations: 0.8639 MB / 0.5779 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.4267, allocations: 0 / 0.5779 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01014/0.4368, allocations: 27.39 MB / 0.6046 GB, free: 16.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.4415, allocations: 13.76 MB / 0.6181 GB, free: 3.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.4418, allocations: 94.69 kB / 0.6182 GB, free: 2.98 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.02093/0.4628, allocations: 34.03 MB / 0.6514 GB, free: 0.8945 MB / 494.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.861e-05/0.4629, allocations: 8 kB / 0.6514 GB, free: 0.8867 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01599/0.4789, allocations: 16.9 MB / 0.6679 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02703/0.5059, allocations: 30.31 MB / 0.6975 GB, free: 1.602 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.004419/0.5104, allocations: 1.953 MB / 0.6994 GB, free: 15.64 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.5135, allocations: 1.984 MB / 0.7014 GB, free: 13.67 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.4822/0.9957, allocations: 79.6 MB / 0.7791 GB, free: 84.78 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.04513/1.041, allocations: 44.97 MB / 0.823 GB, free: 49.14 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.06021/1.101, allocations: 94.33 MB / 0.9151 GB, free: 7.996 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.101, allocations: 0 / 0.9151 GB, free: 7.996 MB / 0.6079 GB Notification: Performance of FrontEnd: time 3.096e-06/1.101, allocations: 0 / 0.9151 GB, free: 7.996 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.0044/1.106, allocations: 0 / 0.9151 GB, free: 7.996 MB / 0.6079 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.665/1.771, allocations: 135.3 MB / 1.047 GB, free: 152.3 MB / 0.7178 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.771, allocations: 9.469 kB / 1.047 GB, free: 152.3 MB / 0.7178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02605/1.797, allocations: 17.59 MB / 1.064 GB, free: 142.3 MB / 0.7178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5766/2.373, allocations: 206 MB / 1.266 GB, free: 6.168 MB / 0.7647 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/2.373, allocations: 1.812 kB / 1.266 GB, free: 6.168 MB / 0.7647 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/2.373, allocations: 5.125 kB / 1.266 GB, free: 6.164 MB / 0.7647 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/2.374, allocations: 47.41 kB / 1.266 GB, free: 6.113 MB / 0.7647 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/2.374, allocations: 2.5 kB / 1.266 GB, free: 6.113 MB / 0.7647 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/2.374, allocations: 3.938 kB / 1.266 GB, free: 6.109 MB / 0.7647 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/2.374, allocations: 4 kB / 1.266 GB, free: 6.105 MB / 0.7647 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.501e-05/2.374, allocations: 20.36 kB / 1.266 GB, free: 6.09 MB / 0.7647 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09327/2.467, allocations: 54.46 MB / 1.319 GB, free: 15.52 MB / 0.8272 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/2.467, allocations: 50.28 kB / 1.319 GB, free: 15.47 MB / 0.8272 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/2.467, allocations: 26.84 kB / 1.319 GB, free: 15.44 MB / 0.8272 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/2.467, allocations: 0 / 1.319 GB, free: 15.44 MB / 0.8272 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/2.467, allocations: 63.39 kB / 1.319 GB, free: 15.37 MB / 0.8272 GB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/2.467, allocations: 3.078 kB / 1.319 GB, free: 15.37 MB / 0.8272 GB Notification: Performance of matching and sorting (n=5): time 0.03137/2.499, allocations: 18.17 MB / 1.337 GB, free: 12.96 MB / 0.8428 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/2.499, allocations: 55.41 kB / 1.337 GB, free: 12.89 MB / 0.8428 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5562/3.055, allocations: 201.9 MB / 1.534 GB, free: 173.7 MB / 0.8584 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/3.055, allocations: 28.8 kB / 1.534 GB, free: 173.7 MB / 0.8584 GB Notification: Performance of collectInitialEqns (initialization): time 0.07986/3.135, allocations: 101.8 MB / 1.633 GB, free: 71.83 MB / 0.8584 GB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/3.135, allocations: 9.109 kB / 1.633 GB, free: 71.83 MB / 0.8584 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/3.135, allocations: 17.72 kB / 1.634 GB, free: 71.8 MB / 0.8584 GB Notification: Performance of setup shared object (initialization): time 4.115e-05/3.135, allocations: 306 kB / 1.634 GB, free: 71.5 MB / 0.8584 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/3.135, allocations: 18.09 kB / 1.634 GB, free: 71.48 MB / 0.8584 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/3.135, allocations: 26.8 kB / 1.634 GB, free: 71.45 MB / 0.8584 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.405e-05/3.135, allocations: 50.66 kB / 1.634 GB, free: 71.41 MB / 0.8584 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/3.135, allocations: 0 / 1.634 GB, free: 71.41 MB / 0.8584 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.02478/3.16, allocations: 18.15 MB / 1.652 GB, free: 63.02 MB / 0.8584 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/3.16, allocations: 7.75 kB / 1.652 GB, free: 63.02 MB / 0.8584 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/3.16, allocations: 4 kB / 1.652 GB, free: 63.02 MB / 0.8584 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/3.16, allocations: 0 / 1.652 GB, free: 63.02 MB / 0.8584 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/3.16, allocations: 11.06 kB / 1.652 GB, free: 63.01 MB / 0.8584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/3.16, allocations: 0 / 1.652 GB, free: 63.01 MB / 0.8584 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02024/3.181, allocations: 0.496 MB / 1.652 GB, free: 62.51 MB / 0.8584 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/3.181, allocations: 4 kB / 1.652 GB, free: 62.51 MB / 0.8584 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.03939/3.22, allocations: 37.24 MB / 1.688 GB, free: 25.23 MB / 0.8584 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02658/3.247, allocations: 18.56 MB / 1.707 GB, free: 16.44 MB / 0.8584 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3322/3.579, allocations: 20.44 MB / 1.727 GB, free: 246 MB / 0.8584 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/3.579, allocations: 1.688 kB / 1.727 GB, free: 246 MB / 0.8584 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/3.579, allocations: 0 / 1.727 GB, free: 246 MB / 0.8584 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/3.579, allocations: 2.156 kB / 1.727 GB, free: 246 MB / 0.8584 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1088/3.688, allocations: 59.83 MB / 1.785 GB, free: 226.7 MB / 0.8584 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/3.688, allocations: 4.969 kB / 1.785 GB, free: 226.7 MB / 0.8584 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/3.688, allocations: 6.75 kB / 1.785 GB, free: 226.7 MB / 0.8584 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/3.688, allocations: 0 / 1.785 GB, free: 226.7 MB / 0.8584 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/3.688, allocations: 3.375 kB / 1.785 GB, free: 226.7 MB / 0.8584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/3.688, allocations: 0 / 1.785 GB, free: 226.7 MB / 0.8584 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/3.688, allocations: 2.016 kB / 1.785 GB, free: 226.7 MB / 0.8584 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03149/3.719, allocations: 19.83 MB / 1.804 GB, free: 225.4 MB / 0.8584 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03015/3.749, allocations: 15.23 MB / 1.819 GB, free: 225.3 MB / 0.8584 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01696/3.766, allocations: 0.4945 MB / 1.82 GB, free: 225.3 MB / 0.8584 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02045/3.787, allocations: 0.4909 MB / 1.82 GB, free: 225.3 MB / 0.8584 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/3.787, allocations: 8.25 kB / 1.82 GB, free: 225.3 MB / 0.8584 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/3.787, allocations: 0 / 1.82 GB, free: 225.3 MB / 0.8584 GB Notification: Performance of sorting global known variables: time 0.2511/4.038, allocations: 139.9 MB / 1.957 GB, free: 127.6 MB / 0.8584 GB Notification: Performance of sort global known variables: time 7.31e-07/4.038, allocations: 0 / 1.957 GB, free: 127.6 MB / 0.8584 GB Notification: Performance of remove unused functions: time 0.02158/4.06, allocations: 4.9 MB / 1.962 GB, free: 122.7 MB / 0.8584 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.0008061/4.061, allocations: 409.5 kB / 1.962 GB, free: 122.5 MB / 0.8584 GB Notification: Performance of simCode: created initialization part: time 0.0001635/4.061, allocations: 36.64 kB / 1.962 GB, free: 122.4 MB / 0.8584 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/4.061, allocations: 0 / 1.962 GB, free: 122.4 MB / 0.8584 GB Notification: Performance of simCode: created simulation system equations: time 5.112e-05/4.061, allocations: 24.48 kB / 1.962 GB, free: 122.4 MB / 0.8584 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07443/4.135, allocations: 13.51 MB / 1.975 GB, free: 108.9 MB / 0.8584 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7728/4.908, allocations: 328.9 MB / 2.296 GB, free: 102.6 MB / 0.8584 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1104/5.018, allocations: 68.47 MB / 2.363 GB, free: 35.13 MB / 0.8584 GB Notification: Performance of simCode: alias equations: time 0.1322/5.151, allocations: 45.36 MB / 2.408 GB, free: 6.914 MB / 0.874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.427/5.578, allocations: 17.6 MB / 2.425 GB, free: 131.4 MB / 0.874 GB Notification: Performance of SimCode: time 1.483e-06/5.578, allocations: 0 / 2.425 GB, free: 131.4 MB / 0.874 GB Notification: Performance of Templates: time 1.615/7.193, allocations: 0.4896 GB / 2.914 GB, free: 165.8 MB / 0.9522 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches