Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_8000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_8000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001108/0.001108, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.175/1.175, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7784/0.7784, allocations: 119.3 MB / 411 MB, free: 9.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.91 kB / 0.4911 GB, free: 13.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3875, allocations: 80.68 MB / 0.5698 GB, free: 43.33 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.00205/0.3896, allocations: 1.404 MB / 0.5712 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.3904, allocations: 0.5736 MB / 0.5718 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.3904, allocations: 1.156 kB / 0.5718 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.003352/0.3938, allocations: 6.843 MB / 0.5785 GB, free: 38.34 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.397, allocations: 6.896 MB / 0.5852 GB, free: 33.93 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.3973, allocations: 75.8 kB / 0.5853 GB, free: 33.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007958/0.4053, allocations: 17.03 MB / 0.6019 GB, free: 16.8 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.191e-05/0.4054, allocations: 15.98 kB / 0.6019 GB, free: 16.79 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007276/0.4127, allocations: 8.458 MB / 0.6102 GB, free: 8.312 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/0.4263, allocations: 16.14 MB / 0.6259 GB, free: 8.148 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004479/0.4309, allocations: 0.9805 MB / 0.6269 GB, free: 7.168 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.4352, allocations: 1.058 MB / 0.6279 GB, free: 6.109 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.03669/0.4719, allocations: 39.8 MB / 0.6668 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.02618/0.4981, allocations: 22.48 MB / 0.6887 GB, free: 7.496 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.03667/0.5348, allocations: 48.42 MB / 0.736 GB, free: 6.805 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5348, allocations: 0 / 0.736 GB, free: 6.805 MB / 0.5764 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5348, allocations: 0 / 0.736 GB, free: 6.805 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001105/0.536, allocations: 4 kB / 0.736 GB, free: 6.801 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.4601/0.9961, allocations: 77.12 MB / 0.8114 GB, free: 84.12 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.9962, allocations: 11.89 kB / 0.8114 GB, free: 84.11 MB / 0.5923 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.9962, allocations: 38.75 kB / 0.8114 GB, free: 84.06 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009153/1.005, allocations: 8.798 MB / 0.82 GB, free: 75.14 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1919/1.197, allocations: 103 MB / 0.9206 GB, free: 3.5 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/1.197, allocations: 4.375 kB / 0.9206 GB, free: 3.496 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004922/1.198, allocations: 253.7 kB / 0.9209 GB, free: 3.25 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/1.201, allocations: 2.984 MB / 0.9238 GB, free: 268 kB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/1.201, allocations: 7.5 kB / 0.9238 GB, free: 264 kB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/1.201, allocations: 252 kB / 0.924 GB, free: 12 kB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/1.201, allocations: 1.781 kB / 0.924 GB, free: 12 kB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/1.203, allocations: 1.727 MB / 0.9257 GB, free: 14.29 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.041/1.244, allocations: 27.54 MB / 0.9526 GB, free: 2.668 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/1.247, allocations: 1.018 MB / 0.9536 GB, free: 1.641 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/1.249, allocations: 1.009 MB / 0.9546 GB, free: 0.6289 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/1.249, allocations: 3.969 kB / 0.9546 GB, free: 0.6289 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002254/1.251, allocations: 2.537 MB / 0.9571 GB, free: 14.07 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 2.515e-06/1.251, allocations: 4 kB / 0.9571 GB, free: 14.07 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.019/1.27, allocations: 16.5 MB / 0.9732 GB, free: 13.44 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.27, allocations: 81.11 kB / 0.9733 GB, free: 13.34 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3584/1.629, allocations: 99.06 MB / 1.07 GB, free: 197.2 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.001364/1.63, allocations: 278.6 kB / 1.07 GB, free: 197.2 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.0421/1.672, allocations: 46.97 MB / 1.116 GB, free: 158.8 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.00139/1.674, allocations: 262.2 kB / 1.116 GB, free: 158.8 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003857/1.678, allocations: 1.732 MB / 1.118 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 5.424e-05/1.678, allocations: 314 kB / 1.118 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/1.68, allocations: 0.988 MB / 1.119 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/1.681, allocations: 1.001 MB / 1.12 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/1.684, allocations: 2.046 MB / 1.122 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.684, allocations: 3.984 kB / 1.122 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01435/1.698, allocations: 15.51 MB / 1.137 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/1.698, allocations: 37.02 kB / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.698, allocations: 3.984 kB / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.698, allocations: 0 / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/1.698, allocations: 5.5 kB / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.698, allocations: 0 / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006813/1.705, allocations: 260.6 kB / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001848/1.707, allocations: 3.422 MB / 1.141 GB, free: 157.7 MB / 0.7329 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.01902/1.726, allocations: 19.19 MB / 1.16 GB, free: 145.1 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007785/1.734, allocations: 9.039 MB / 1.169 GB, free: 141 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.747, allocations: 10.23 MB / 1.179 GB, free: 130.7 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.747, allocations: 0 / 1.179 GB, free: 130.7 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.747, allocations: 0 / 1.179 GB, free: 130.7 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.747, allocations: 0 / 1.179 GB, free: 130.7 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03576/1.783, allocations: 29.99 MB / 1.208 GB, free: 100.6 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.783, allocations: 0 / 1.208 GB, free: 100.6 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/1.783, allocations: 5.656 kB / 1.208 GB, free: 100.6 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.783, allocations: 2.625 kB / 1.208 GB, free: 100.6 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/1.784, allocations: 0.7416 MB / 1.209 GB, free: 99.91 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.784, allocations: 3.984 kB / 1.209 GB, free: 99.9 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.784, allocations: 4.516 kB / 1.209 GB, free: 99.9 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.798, allocations: 16.13 MB / 1.224 GB, free: 83.62 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01492/1.813, allocations: 7.66 MB / 1.232 GB, free: 75.83 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00736/1.82, allocations: 255.9 kB / 1.232 GB, free: 75.58 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007412/1.828, allocations: 254.6 kB / 1.232 GB, free: 75.34 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/1.828, allocations: 11.05 kB / 1.232 GB, free: 75.33 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00337/1.831, allocations: 3.426 MB / 1.236 GB, free: 71.9 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.07918/1.91, allocations: 68.97 MB / 1.303 GB, free: 3.578 MB / 0.7329 GB Notification: Performance of sort global known variables: time 5.81e-07/1.91, allocations: 0 / 1.303 GB, free: 3.578 MB / 0.7329 GB Notification: Performance of remove unused functions: time 0.007185/1.917, allocations: 2.478 MB / 1.306 GB, free: 1.105 MB / 0.7329 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.2331/2.151, allocations: 17.63 MB / 1.323 GB, free: 244.6 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.005431/2.156, allocations: 2.335 MB / 1.325 GB, free: 244.5 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/2.156, allocations: 0 / 1.325 GB, free: 244.5 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.002145/2.158, allocations: 1.325 MB / 1.326 GB, free: 244.4 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03054/2.189, allocations: 6.754 MB / 1.333 GB, free: 240.2 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.84/9.029, allocations: 4.322 GB / 5.655 GB, free: 471.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0476/9.077, allocations: 34.38 MB / 5.688 GB, free: 455.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.04714/9.124, allocations: 18.69 MB / 5.707 GB, free: 441.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03056/9.154, allocations: 40.93 MB / 5.747 GB, free: 400.2 MB / 1.014 GB Notification: Performance of SimCode: time 7.51e-07/9.154, allocations: 3.391 kB / 5.747 GB, free: 400.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.648/11.8, allocations: 1.214 GB / 6.961 GB, free: 122.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 58.16/69.96, allocations: 7.953 kB / 6.961 GB, free: 122.5 MB / 1.014 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_8000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_8000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches