Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_16000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_16000",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.001457/0.001458, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001515/0.001514, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.469/1.469, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.267/1.267, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 63.89 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6553, allocations: 80.68 MB / 0.5698 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000): time 0.003267/0.6586, allocations: 1.578 MB / 0.5714 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.66, allocations: 0.8901 MB / 0.5722 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.6601, allocations: 0 / 0.5722 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01497/0.675, allocations: 27.39 MB / 0.599 GB, free: 19.8 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005439/0.6806, allocations: 13.76 MB / 0.6124 GB, free: 6.008 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.6811, allocations: 103.6 kB / 0.6125 GB, free: 5.906 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.02389/0.705, allocations: 34.04 MB / 0.6458 GB, free: 3.812 MB / 494.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.7051, allocations: 8 kB / 0.6458 GB, free: 3.805 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02566/0.7308, allocations: 16.9 MB / 0.6623 GB, free: 2.879 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04603/0.7769, allocations: 32.26 MB / 0.6938 GB, free: 2.566 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.01188/0.7888, allocations: 1.953 MB / 0.6957 GB, free: 0.6133 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.8004, allocations: 1.988 MB / 0.6977 GB, free: 14.62 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.8002/1.601, allocations: 79.61 MB / 0.7754 GB, free: 83.77 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.08323/1.684, allocations: 44.95 MB / 0.8193 GB, free: 48.15 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.1134/1.797, allocations: 96.77 MB / 0.9138 GB, free: 6.285 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/1.798, allocations: 3.984 kB / 0.9138 GB, free: 6.281 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.715e-06/1.798, allocations: 0 / 0.9138 GB, free: 6.281 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.006466/1.804, allocations: 2.25 kB / 0.9138 GB, free: 6.281 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 1.019/2.823, allocations: 153.9 MB / 1.064 GB, free: 112.4 MB / 0.7022 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/2.823, allocations: 13.36 kB / 1.064 GB, free: 112.4 MB / 0.7022 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/2.823, allocations: 32.88 kB / 1.064 GB, free: 112.3 MB / 0.7022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03775/2.861, allocations: 17.59 MB / 1.081 GB, free: 102.3 MB / 0.7022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9109/3.771, allocations: 206 MB / 1.282 GB, free: 2.184 MB / 0.7959 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/3.772, allocations: 11.84 kB / 1.283 GB, free: 2.176 MB / 0.7959 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/3.772, allocations: 0 / 1.283 GB, free: 2.176 MB / 0.7959 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/3.772, allocations: 49.61 kB / 1.283 GB, free: 2.121 MB / 0.7959 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/3.772, allocations: 0 / 1.283 GB, free: 2.121 MB / 0.7959 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/3.772, allocations: 4 kB / 1.283 GB, free: 2.117 MB / 0.7959 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/3.772, allocations: 0 / 1.283 GB, free: 2.117 MB / 0.7959 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.265e-05/3.772, allocations: 15.98 kB / 1.283 GB, free: 2.102 MB / 0.7959 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1397/3.912, allocations: 54.46 MB / 1.336 GB, free: 11.54 MB / 0.8584 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/3.912, allocations: 59.25 kB / 1.336 GB, free: 11.48 MB / 0.8584 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/3.912, allocations: 18.86 kB / 1.336 GB, free: 11.46 MB / 0.8584 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/3.912, allocations: 3.938 kB / 1.336 GB, free: 11.46 MB / 0.8584 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/3.912, allocations: 63.39 kB / 1.336 GB, free: 11.38 MB / 0.8584 GB Notification: Performance of pre-optimization done (n=5): time 2.495e-06/3.912, allocations: 2 kB / 1.336 GB, free: 11.38 MB / 0.8584 GB Notification: Performance of matching and sorting (n=5): time 0.6206/4.533, allocations: 18.16 MB / 1.354 GB, free: 248.1 MB / 0.8584 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/4.533, allocations: 54.88 kB / 1.354 GB, free: 248.1 MB / 0.8584 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5127/5.046, allocations: 201.9 MB / 1.551 GB, free: 131.1 MB / 0.8584 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/5.046, allocations: 29.09 kB / 1.551 GB, free: 131.1 MB / 0.8584 GB Notification: Performance of collectInitialEqns (initialization): time 0.1203/5.166, allocations: 101.8 MB / 1.65 GB, free: 29.24 MB / 0.8584 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/5.166, allocations: 9.938 kB / 1.65 GB, free: 29.23 MB / 0.8584 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/5.166, allocations: 17.72 kB / 1.65 GB, free: 29.21 MB / 0.8584 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/5.167, allocations: 314 kB / 1.651 GB, free: 28.9 MB / 0.8584 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/5.167, allocations: 16.78 kB / 1.651 GB, free: 28.89 MB / 0.8584 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/5.167, allocations: 29.7 kB / 1.651 GB, free: 28.85 MB / 0.8584 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.712e-05/5.167, allocations: 46.42 kB / 1.651 GB, free: 28.8 MB / 0.8584 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/5.167, allocations: 0 / 1.651 GB, free: 28.8 MB / 0.8584 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.04012/5.207, allocations: 18.14 MB / 1.668 GB, free: 20.43 MB / 0.8584 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/5.207, allocations: 8 kB / 1.668 GB, free: 20.42 MB / 0.8584 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/5.207, allocations: 1.375 kB / 1.668 GB, free: 20.42 MB / 0.8584 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/5.207, allocations: 3.5 kB / 1.668 GB, free: 20.42 MB / 0.8584 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/5.207, allocations: 15.08 kB / 1.668 GB, free: 20.41 MB / 0.8584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/5.207, allocations: 4 kB / 1.668 GB, free: 20.41 MB / 0.8584 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03649/5.244, allocations: 0.4925 MB / 1.669 GB, free: 19.92 MB / 0.8584 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/5.244, allocations: 4 kB / 1.669 GB, free: 19.91 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.6326/5.876, allocations: 37.23 MB / 1.705 GB, free: 151.8 MB / 0.8584 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04476/5.921, allocations: 18.56 MB / 1.723 GB, free: 151.8 MB / 0.8584 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05609/5.977, allocations: 20.44 MB / 1.743 GB, free: 149.9 MB / 0.8584 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/5.977, allocations: 3.562 kB / 1.743 GB, free: 149.9 MB / 0.8584 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/5.977, allocations: 0 / 1.743 GB, free: 149.9 MB / 0.8584 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/5.977, allocations: 5.094 kB / 1.743 GB, free: 149.9 MB / 0.8584 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2289/6.206, allocations: 59.84 MB / 1.802 GB, free: 139.4 MB / 0.8584 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/6.206, allocations: 0 / 1.802 GB, free: 139.4 MB / 0.8584 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.022e-05/6.207, allocations: 3.375 kB / 1.802 GB, free: 139.4 MB / 0.8584 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/6.207, allocations: 3.375 kB / 1.802 GB, free: 139.4 MB / 0.8584 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/6.207, allocations: 0 / 1.802 GB, free: 139.4 MB / 0.8584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/6.207, allocations: 3.656 kB / 1.802 GB, free: 139.4 MB / 0.8584 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/6.207, allocations: 7.922 kB / 1.802 GB, free: 139.4 MB / 0.8584 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05894/6.266, allocations: 19.83 MB / 1.821 GB, free: 138.2 MB / 0.8584 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05132/6.317, allocations: 13.76 MB / 1.835 GB, free: 128.1 MB / 0.8584 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03157/6.349, allocations: 0.4928 MB / 1.835 GB, free: 128.1 MB / 0.8584 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03634/6.385, allocations: 0.4912 MB / 1.836 GB, free: 128.1 MB / 0.8584 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/6.385, allocations: 7.922 kB / 1.836 GB, free: 128.1 MB / 0.8584 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/6.385, allocations: 4.281 kB / 1.836 GB, free: 128.1 MB / 0.8584 GB Notification: Performance of sorting global known variables: time 0.4275/6.813, allocations: 139.9 MB / 1.972 GB, free: 25.59 MB / 0.8584 GB Notification: Performance of sort global known variables: time 8.91e-07/6.813, allocations: 4 kB / 1.972 GB, free: 25.59 MB / 0.8584 GB Notification: Performance of remove unused functions: time 0.03295/6.846, allocations: 4.904 MB / 1.977 GB, free: 20.69 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.05287/6.899, allocations: 22.06 MB / 1.999 GB, free: 14.59 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 0.0003102/6.899, allocations: 45.61 kB / 1.999 GB, free: 14.56 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/6.899, allocations: 0 / 1.999 GB, free: 14.56 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/6.899, allocations: 21.58 kB / 1.999 GB, free: 14.54 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1325/7.032, allocations: 13.5 MB / 2.012 GB, free: 8.852 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 55.65/62.68, allocations: 16.27 GB / 18.29 GB, free: 0.4973 GB / 1.202 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1868/62.87, allocations: 68.48 MB / 18.35 GB, free: 454.1 MB / 1.202 GB Notification: Performance of simCode: alias equations: time 0.1766/63.04, allocations: 45.03 MB / 18.4 GB, free: 411 MB / 1.202 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1454/63.19, allocations: 94.53 MB / 18.49 GB, free: 316.5 MB / 1.202 GB Notification: Performance of SimCode: time 2.174e-06/63.19, allocations: 0 / 18.49 GB, free: 316.5 MB / 1.202 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.03/72.22, allocations: 2.266 GB / 20.76 GB, free: 142.1 MB / 1.265 GB Notification: Performance of buildModelFMU: Generate platform static: time 203.6/275.8, allocations: 6.516 kB / 20.76 GB, free: 142.1 MB / 1.265 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_16000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches