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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000",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.001222/0.001222, 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.001161/0.001161, 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.454/1.454, allocations: 222.9 MB / 241.6 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.09/1.09, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6046/0.6059, allocations: 80.69 MB / 0.5698 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.003591/0.6095, allocations: 1.575 MB / 0.5714 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.6114, allocations: 0.8814 MB / 0.5722 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.6115, allocations: 1.281 kB / 0.5722 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006317/0.6178, allocations: 6.885 MB / 0.579 GB, free: 38.03 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003809/0.6217, allocations: 3.508 MB / 0.5824 GB, free: 36.25 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.6223, allocations: 117.2 kB / 0.5825 GB, free: 36.17 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008202/0.6306, allocations: 8.582 MB / 0.5909 GB, free: 28.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.599e-05/0.6307, allocations: 11.98 kB / 0.5909 GB, free: 28.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007503/0.6382, allocations: 4.262 MB / 0.5951 GB, free: 23.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01351/0.6518, allocations: 8.1 MB / 0.603 GB, free: 15.69 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.003903/0.6557, allocations: 500 kB / 0.6034 GB, free: 15.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/0.6596, allocations: 0.5156 MB / 0.604 GB, free: 14.69 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0252/0.6848, allocations: 19.92 MB / 0.6234 GB, free: 10.72 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02613/0.711, allocations: 11.26 MB / 0.6344 GB, free: 15.34 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.04346/0.7545, allocations: 24.26 MB / 0.6581 GB, free: 6.945 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.7546, allocations: 4 kB / 0.6581 GB, free: 6.941 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.489e-06/0.7547, allocations: 0 / 0.6581 GB, free: 6.941 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001457/0.7561, allocations: 0 / 0.6581 GB, free: 6.941 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.07803/0.8342, allocations: 38.76 MB / 0.6959 GB, free: 15.78 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.8343, allocations: 19.89 kB / 0.696 GB, free: 15.76 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.358e-05/0.8344, allocations: 34.73 kB / 0.696 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008196/0.8426, allocations: 4.403 MB / 0.7003 GB, free: 11.25 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1408/0.9834, allocations: 51.6 MB / 0.7507 GB, free: 7.316 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.9835, allocations: 8.359 kB / 0.7507 GB, free: 7.309 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.9835, allocations: 3.938 kB / 0.7507 GB, free: 7.305 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.9837, allocations: 45.69 kB / 0.7507 GB, free: 7.254 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.9837, allocations: 0 / 0.7507 GB, free: 7.254 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.9837, allocations: 3.984 kB / 0.7507 GB, free: 7.25 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.9838, allocations: 4 kB / 0.7507 GB, free: 7.246 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.627e-05/0.9839, allocations: 15.94 kB / 0.7508 GB, free: 7.23 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5937/1.578, allocations: 13.73 MB / 0.7642 GB, free: 136.1 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/1.578, allocations: 53.22 kB / 0.7642 GB, free: 136.1 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/1.578, allocations: 19.38 kB / 0.7642 GB, free: 136.1 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/1.578, allocations: 1.25 kB / 0.7642 GB, free: 136.1 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/1.578, allocations: 68.58 kB / 0.7643 GB, free: 136 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 3.005e-06/1.578, allocations: 0 / 0.7643 GB, free: 136 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.01326/1.592, allocations: 4.609 MB / 0.7688 GB, free: 136 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/1.592, allocations: 52.78 kB / 0.7689 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1087/1.7, allocations: 50.58 MB / 0.8183 GB, free: 108.6 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/1.7, allocations: 25.7 kB / 0.8183 GB, free: 108.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02184/1.722, allocations: 23.58 MB / 0.8413 GB, free: 84.95 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/1.722, allocations: 9.766 kB / 0.8413 GB, free: 84.94 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/1.723, allocations: 17.72 kB / 0.8413 GB, free: 84.92 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.248e-05/1.723, allocations: 314 kB / 0.8416 GB, free: 84.61 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/1.723, allocations: 15.98 kB / 0.8417 GB, free: 84.59 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/1.723, allocations: 29.08 kB / 0.8417 GB, free: 84.56 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/1.723, allocations: 44.34 kB / 0.8417 GB, free: 84.51 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.723, allocations: 0 / 0.8417 GB, free: 84.51 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.007591/1.73, allocations: 4.597 MB / 0.8462 GB, free: 82.36 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.731, allocations: 4 kB / 0.8462 GB, free: 82.35 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.731, allocations: 7 kB / 0.8462 GB, free: 82.35 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.731, allocations: 2.062 kB / 0.8462 GB, free: 82.35 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/1.731, allocations: 8 kB / 0.8462 GB, free: 82.34 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.731, allocations: 0 / 0.8462 GB, free: 82.34 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009087/1.74, allocations: 136.8 kB / 0.8464 GB, free: 82.21 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/1.74, allocations: 11.94 kB / 0.8464 GB, free: 82.2 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.01344/1.753, allocations: 9.395 MB / 0.8555 GB, free: 72.79 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009104/1.762, allocations: 4.648 MB / 0.8601 GB, free: 68.08 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.776, allocations: 5.114 MB / 0.8651 GB, free: 62.96 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/1.776, allocations: 0 / 0.8651 GB, free: 62.96 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.776, allocations: 3.984 kB / 0.8651 GB, free: 62.95 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/1.776, allocations: 3.938 kB / 0.8651 GB, free: 62.95 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03912/1.815, allocations: 15.09 MB / 0.8798 GB, free: 47.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.815, allocations: 0 / 0.8798 GB, free: 47.8 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/1.815, allocations: 7 kB / 0.8798 GB, free: 47.8 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/1.815, allocations: 0 / 0.8798 GB, free: 47.8 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/1.815, allocations: 0 / 0.8798 GB, free: 47.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.815, allocations: 4 kB / 0.8798 GB, free: 47.79 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.815, allocations: 0 / 0.8798 GB, free: 47.79 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00713/1.822, allocations: 5.039 MB / 0.8848 GB, free: 42.68 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007186/1.83, allocations: 3.506 MB / 0.8882 GB, free: 39.1 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005258/1.835, allocations: 128 kB / 0.8883 GB, free: 38.97 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005599/1.841, allocations: 128 kB / 0.8884 GB, free: 38.85 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/1.841, allocations: 9.156 kB / 0.8884 GB, free: 38.84 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/1.841, allocations: 3.984 kB / 0.8884 GB, free: 38.84 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.07033/1.911, allocations: 35 MB / 0.9226 GB, free: 4.137 MB / 0.5923 GB Notification: Performance of sort global known variables: time 7.11e-07/1.911, allocations: 7.125 kB / 0.9226 GB, free: 4.133 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.007242/1.918, allocations: 1.234 MB / 0.9238 GB, free: 2.898 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.011/1.929, allocations: 6.216 MB / 0.9299 GB, free: 12.79 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0002528/1.93, allocations: 44.8 kB / 0.9299 GB, free: 12.75 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.93, allocations: 0 / 0.9299 GB, free: 12.75 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 8.522e-05/1.93, allocations: 23.92 kB / 0.93 GB, free: 12.72 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02404/1.954, allocations: 3.403 MB / 0.9333 GB, free: 9.316 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.33/5.284, allocations: 1.203 GB / 2.136 GB, free: 353.3 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0352/5.319, allocations: 17.34 MB / 2.153 GB, free: 343.4 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.04252/5.362, allocations: 11.32 MB / 2.164 GB, free: 332.6 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03442/5.396, allocations: 21.71 MB / 2.185 GB, free: 310.9 MB / 0.8423 GB Notification: Performance of SimCode: time 3.587e-06/5.396, allocations: 0 / 2.185 GB, free: 310.9 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.829/7.225, allocations: 0.563 GB / 2.748 GB, free: 239.7 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.61/51.84, allocations: 14.77 kB / 2.748 GB, free: 239.7 MB / 0.8423 GB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_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_4000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches