Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",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.001372/0.001372, 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.001112/0.001112, 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.408/1.408, 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.118/1.118, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 68.12 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.6412, allocations: 80.68 MB / 0.5698 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002195/0.6435, allocations: 1.407 MB / 0.5712 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.6443, allocations: 0.5694 MB / 0.5718 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.6444, allocations: 0 / 0.5718 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.6447, allocations: 452.5 kB / 0.5722 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.6452, allocations: 497.9 kB / 0.5727 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.6454, allocations: 72.92 kB / 0.5728 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007357/0.6462, allocations: 1.122 MB / 0.5738 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.6462, allocations: 7.469 kB / 0.5739 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.6467, allocations: 0.5671 MB / 0.5744 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008544/0.6476, allocations: 1.037 MB / 0.5754 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.6478, allocations: 66 kB / 0.5755 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.648, allocations: 138.2 kB / 0.5756 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002319/0.6503, allocations: 2.496 MB / 0.5781 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0008261/0.6512, allocations: 1.425 MB / 0.5794 GB, free: 37.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.6533, allocations: 3.101 MB / 0.5825 GB, free: 35.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6533, allocations: 4 kB / 0.5825 GB, free: 35.68 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6533, allocations: 0 / 0.5825 GB, free: 35.68 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.668e-05/0.6534, allocations: 1.094 kB / 0.5825 GB, free: 35.68 MB / 462.3 MB 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.004815/0.6582, allocations: 5.177 MB / 0.5875 GB, free: 31.4 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6583, allocations: 11.89 kB / 0.5875 GB, free: 31.39 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.6583, allocations: 34.75 kB / 0.5876 GB, free: 31.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.6587, allocations: 0.5522 MB / 0.5881 GB, free: 30.79 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007411/0.6662, allocations: 6.531 MB / 0.5945 GB, free: 24.17 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6662, allocations: 4.375 kB / 0.5945 GB, free: 24.17 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.6662, allocations: 28.31 kB / 0.5945 GB, free: 24.14 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.6665, allocations: 237.6 kB / 0.5948 GB, free: 23.9 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6666, allocations: 4 kB / 0.5948 GB, free: 23.9 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.6666, allocations: 16 kB / 0.5948 GB, free: 23.88 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6666, allocations: 0 / 0.5948 GB, free: 23.88 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.6668, allocations: 132 kB / 0.5949 GB, free: 23.75 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.6685, allocations: 1.854 MB / 0.5967 GB, free: 21.85 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.6687, allocations: 102.6 kB / 0.5968 GB, free: 21.74 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.6688, allocations: 100.8 kB / 0.5969 GB, free: 21.64 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.6688, allocations: 0 / 0.5969 GB, free: 21.64 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.6691, allocations: 256.8 kB / 0.5971 GB, free: 21.37 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.6692, allocations: 0 / 0.5971 GB, free: 21.37 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001159/0.6703, allocations: 1.16 MB / 0.5983 GB, free: 20.19 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.6704, allocations: 85.09 kB / 0.5984 GB, free: 20.09 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005503/0.6759, allocations: 6.283 MB / 0.6045 GB, free: 13.85 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.676, allocations: 45.7 kB / 0.6045 GB, free: 13.8 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.6776, allocations: 2.524 MB / 0.607 GB, free: 11.27 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/0.6777, allocations: 31.75 kB / 0.607 GB, free: 11.24 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.6779, allocations: 133.7 kB / 0.6072 GB, free: 11.11 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.6779, allocations: 313.9 kB / 0.6075 GB, free: 10.79 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.678, allocations: 75.98 kB / 0.6075 GB, free: 10.72 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.6782, allocations: 80 kB / 0.6076 GB, free: 10.64 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.6784, allocations: 224.2 kB / 0.6078 GB, free: 10.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6784, allocations: 4 kB / 0.6078 GB, free: 10.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001038/0.6795, allocations: 1.093 MB / 0.6089 GB, free: 9.289 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.6795, allocations: 37.69 kB / 0.6089 GB, free: 9.246 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6795, allocations: 0 / 0.6089 GB, free: 9.246 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.6796, allocations: 0 / 0.6089 GB, free: 9.246 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.6797, allocations: 4 kB / 0.6089 GB, free: 9.242 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.6797, allocations: 4 kB / 0.6089 GB, free: 9.238 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.68, allocations: 19.91 kB / 0.609 GB, free: 9.219 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.6802, allocations: 224 kB / 0.6092 GB, free: 9 MB / 462.3 MB 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.001293/0.6815, allocations: 1.339 MB / 0.6105 GB, free: 7.645 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.6818, allocations: 0.5746 MB / 0.611 GB, free: 7.062 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.6824, allocations: 0.648 MB / 0.6117 GB, free: 6.406 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.6824, allocations: 0 / 0.6117 GB, free: 6.406 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6824, allocations: 0 / 0.6117 GB, free: 6.406 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6824, allocations: 0 / 0.6117 GB, free: 6.406 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.6837, allocations: 2.018 MB / 0.6136 GB, free: 4.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6837, allocations: 7.875 kB / 0.6137 GB, free: 4.332 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.6838, allocations: 4.094 kB / 0.6137 GB, free: 4.328 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6838, allocations: 3.938 kB / 0.6137 GB, free: 4.324 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.6838, allocations: 52 kB / 0.6137 GB, free: 4.273 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6838, allocations: 4 kB / 0.6137 GB, free: 4.27 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6838, allocations: 4.125 kB / 0.6137 GB, free: 4.266 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.6847, allocations: 1.176 MB / 0.6149 GB, free: 3.059 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/0.6852, allocations: 0.5601 MB / 0.6154 GB, free: 2.473 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.6855, allocations: 24 kB / 0.6154 GB, free: 2.449 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.6858, allocations: 20 kB / 0.6155 GB, free: 2.43 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.6858, allocations: 7.938 kB / 0.6155 GB, free: 2.422 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.6859, allocations: 224 kB / 0.6157 GB, free: 2.203 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004913/0.6909, allocations: 4.328 MB / 0.6199 GB, free: 13.91 MB / 478.3 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6909, allocations: 0 / 0.6199 GB, free: 13.91 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0005615/0.6915, allocations: 188 kB / 0.6201 GB, free: 13.73 MB / 478.3 MB 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.001547/0.693, allocations: 1.778 MB / 0.6218 GB, free: 11.91 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.6935, allocations: 283.4 kB / 0.6221 GB, free: 11.62 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6935, allocations: 0 / 0.6221 GB, free: 11.62 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.6937, allocations: 191.3 kB / 0.6223 GB, free: 11.42 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.6949, allocations: 441.2 kB / 0.6227 GB, free: 10.99 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05743/0.7524, allocations: 47.49 MB / 0.6691 GB, free: 8.152 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002623/0.7551, allocations: 2.728 MB / 0.6717 GB, free: 5.398 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.003112/0.7582, allocations: 1.188 MB / 0.6729 GB, free: 4.203 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/0.7605, allocations: 2.085 MB / 0.6749 GB, free: 2.117 MB / 0.5139 GB Notification: Performance of SimCode: time 1.212e-06/0.7605, allocations: 0 / 0.6749 GB, free: 2.117 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1469/0.9074, allocations: 78.2 MB / 0.7513 GB, free: 3.918 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.83, allocations: 14.55 kB / 0.7513 GB, free: 3.906 MB / 0.592 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_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_TimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches