Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008357/0.0008357, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008289/0.0008289, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.877/0.877, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5974/0.5974, allocations: 88.06 MB / 348.7 MB, free: 14.34 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.523 GB, free: 4.051 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.997e-05, allocations: 6.219 kB / 0.523 GB, free: 4.043 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.001898/0.001918, allocations: 1.589 MB / 0.5245 GB, free: 2.441 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.003041, allocations: 0.9903 MB / 0.5255 GB, free: 1.445 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.003114, allocations: 0 / 0.5255 GB, free: 1.445 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.004128, allocations: 1.754 MB / 0.5272 GB, free: 15.69 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0007249/0.004853, allocations: 1.002 MB / 0.5282 GB, free: 14.68 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.00496, allocations: 79.66 kB / 0.5283 GB, free: 14.61 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.006156, allocations: 2.235 MB / 0.5305 GB, free: 12.37 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.006201, allocations: 4 kB / 0.5305 GB, free: 12.36 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008577/0.007059, allocations: 1.248 MB / 0.5317 GB, free: 11.11 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.008358, allocations: 2.293 MB / 0.5339 GB, free: 8.816 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.008501, allocations: 128 kB / 0.534 GB, free: 8.691 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.008669, allocations: 167.9 kB / 0.5342 GB, free: 8.527 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003214/0.01188, allocations: 5.249 MB / 0.5393 GB, free: 3.266 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007651/0.01265, allocations: 1.208 MB / 0.5405 GB, free: 2.051 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.01592, allocations: 5.592 MB / 0.546 GB, free: 12.43 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01593, allocations: 0 / 0.546 GB, free: 12.43 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.983e-06/0.01593, allocations: 8 kB / 0.546 GB, free: 12.42 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.994e-05/0.01602, allocations: 0 / 0.546 GB, free: 12.42 MB / 474.8 MB 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.007846/0.02386, allocations: 10.22 MB / 0.5559 GB, free: 2.086 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.02392, allocations: 8.031 kB / 0.556 GB, free: 2.078 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.02396, allocations: 30.75 kB / 0.556 GB, free: 2.039 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.02509, allocations: 1.173 MB / 0.5571 GB, free: 0.8594 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/0.03755, allocations: 13.03 MB / 0.5699 GB, free: 3.68 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.03757, allocations: 4.359 kB / 0.5699 GB, free: 3.676 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.03758, allocations: 4.375 kB / 0.5699 GB, free: 3.672 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.03772, allocations: 53.98 kB / 0.5699 GB, free: 3.613 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.03773, allocations: 0 / 0.5699 GB, free: 3.613 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.03774, allocations: 4 kB / 0.5699 GB, free: 3.609 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.03774, allocations: 0 / 0.5699 GB, free: 3.609 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.0378, allocations: 15.98 kB / 0.5699 GB, free: 3.594 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.04021, allocations: 3.525 MB / 0.5734 GB, free: 20 kB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.04035, allocations: 54.55 kB / 0.5734 GB, free: 15.96 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.04039, allocations: 16.86 kB / 0.5734 GB, free: 15.94 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.0404, allocations: 4 kB / 0.5734 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.04054, allocations: 79.31 kB / 0.5735 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.04054, allocations: 0 / 0.5735 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of matching and sorting (n=5): time 0.0009682/0.04151, allocations: 1.287 MB / 0.5748 GB, free: 14.54 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.04155, allocations: 51.41 kB / 0.5748 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008986/0.05053, allocations: 12.76 MB / 0.5873 GB, free: 1.801 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.05055, allocations: 25.7 kB / 0.5873 GB, free: 1.77 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003093/0.05364, allocations: 5.189 MB / 0.5924 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.05368, allocations: 7.953 kB / 0.5924 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.05372, allocations: 17.72 kB / 0.5924 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.05382, allocations: 314 kB / 0.5927 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.076e-05/0.05386, allocations: 20 kB / 0.5927 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.0539, allocations: 29.7 kB / 0.5928 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.726e-05/0.05397, allocations: 45.64 kB / 0.5928 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.05397, allocations: 0 / 0.5928 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007683/0.05474, allocations: 1.279 MB / 0.5941 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.05475, allocations: 4 kB / 0.5941 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.05476, allocations: 0 / 0.5941 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.05477, allocations: 4 kB / 0.5941 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.05484, allocations: 20.22 kB / 0.5941 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.05485, allocations: 0 / 0.5941 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.05526, allocations: 39.94 kB / 0.5941 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.05526, allocations: 8 kB / 0.5941 GB, free: 10.75 MB / 0.5105 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.001916/0.05718, allocations: 2.433 MB / 0.5965 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006156/0.05779, allocations: 1.238 MB / 0.5977 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.05881, allocations: 1.372 MB / 0.599 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.05881, allocations: 0 / 0.599 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.05882, allocations: 0 / 0.599 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.05882, allocations: 0 / 0.599 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.0611, allocations: 3.865 MB / 0.6028 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.0611, allocations: 0 / 0.6028 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.06113, allocations: 7.984 kB / 0.6028 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.06114, allocations: 11.88 kB / 0.6028 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.06115, allocations: 0 / 0.6028 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.06115, allocations: 0 / 0.6028 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.06115, allocations: 0 / 0.6028 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.0619, allocations: 1.402 MB / 0.6042 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009168/0.06281, allocations: 0.9372 MB / 0.6051 GB, free: 15.37 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.06306, allocations: 32 kB / 0.6052 GB, free: 15.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.06342, allocations: 36 kB / 0.6052 GB, free: 15.3 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.06346, allocations: 7.984 kB / 0.6052 GB, free: 15.3 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.06347, allocations: 4 kB / 0.6052 GB, free: 15.29 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006827/0.0703, allocations: 8.772 MB / 0.6138 GB, free: 6.602 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9e-08/0.0703, allocations: 0 / 0.6138 GB, free: 6.602 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0004969/0.0708, allocations: 335.9 kB / 0.6141 GB, free: 6.273 MB / 0.5262 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001643/0.07244, allocations: 2.34 MB / 0.6164 GB, free: 4.094 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.07257, allocations: 43.91 kB / 0.6164 GB, free: 4.051 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.07257, allocations: 4.062 kB / 0.6164 GB, free: 4.047 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.07261, allocations: 16 kB / 0.6164 GB, free: 4.031 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.07413, allocations: 0.8748 MB / 0.6173 GB, free: 3.156 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.442/0.5161, allocations: 64.18 MB / 0.68 GB, free: 69 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.5182, allocations: 4.358 MB / 0.6842 GB, free: 64.61 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.002979/0.5212, allocations: 2.827 MB / 0.687 GB, free: 61.94 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002318/0.5235, allocations: 4.979 MB / 0.6918 GB, free: 56.96 MB / 0.5419 GB Notification: Performance of SimCode: time 1.853e-06/0.5235, allocations: 0 / 0.6918 GB, free: 56.96 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1587/0.6823, allocations: 148.7 MB / 0.8371 GB, free: 4.273 MB / 0.6356 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.27/20.95, allocations: 0 / 0.8371 GB, free: 4.273 MB / 0.6356 GB " [Timeout remaining time 279] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 25.156878422014415]