Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.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.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_N_40",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.001752/0.001752, 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.002026/0.002026, 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.73/1.73, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9841/0.9841, allocations: 119.3 MB / 411 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.91 kB / 0.4911 GB, free: 13.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.5116, allocations: 80.69 MB / 0.5698 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40): time 0.0043/0.516, allocations: 1.589 MB / 0.5714 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.5164, allocations: 77 kB / 0.5715 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.5165, allocations: 5.344 kB / 0.5715 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.5167, allocations: 13.33 kB / 0.5715 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.5168, allocations: 39.84 kB / 0.5715 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.517, allocations: 14.77 kB / 0.5715 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002668/0.5197, allocations: 2.269 MB / 0.5738 GB, free: 40.65 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.522, allocations: 1.102 MB / 0.5748 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.5237, allocations: 0.8449 MB / 0.5757 GB, free: 39.66 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.5257, allocations: 0.9224 MB / 0.5766 GB, free: 39.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004412/0.5262, allocations: 170.5 kB / 0.5767 GB, free: 39.06 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.527, allocations: 168.3 kB / 0.5769 GB, free: 39.06 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0004496/0.5274, allocations: 420.2 kB / 0.5773 GB, free: 38.72 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.5291, allocations: 0.9021 MB / 0.5782 GB, free: 38.16 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.5314, allocations: 2.086 MB / 0.5802 GB, free: 36.78 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.5314, allocations: 9.234 kB / 0.5802 GB, free: 36.77 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5315, allocations: 4 kB / 0.5802 GB, free: 36.77 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.717e-05/0.5315, allocations: 0 / 0.5802 GB, free: 36.77 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.006909/0.5384, allocations: 1.95 MB / 0.5821 GB, free: 35.44 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.5385, allocations: 9.125 kB / 0.5821 GB, free: 35.44 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005423/0.5391, allocations: 230.3 kB / 0.5823 GB, free: 35.27 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005941/0.5397, allocations: 164.5 kB / 0.5825 GB, free: 35.19 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.542, allocations: 0.7923 MB / 0.5833 GB, free: 34.65 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.5423, allocations: 122.4 kB / 0.5834 GB, free: 34.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008011/0.5432, allocations: 187 kB / 0.5836 GB, free: 34.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005421/0.5486, allocations: 1.794 MB / 0.5853 GB, free: 33.52 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.5488, allocations: 24.69 kB / 0.5854 GB, free: 33.51 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.549, allocations: 68.52 kB / 0.5854 GB, free: 33.45 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/0.5491, allocations: 41.2 kB / 0.5855 GB, free: 33.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004846/0.554, allocations: 1.857 MB / 0.5873 GB, free: 31.62 MB / 462.3 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01469/0.5687, allocations: 8.441 MB / 0.5955 GB, free: 22.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007619/0.5763, allocations: 2.991 MB / 0.5984 GB, free: 19.19 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/0.5793, allocations: 1.372 MB / 0.5998 GB, free: 17.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-05/0.5794, allocations: 18 kB / 0.5998 GB, free: 17.8 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.5794, allocations: 52.56 kB / 0.5998 GB, free: 17.74 MB / 462.3 MB Notification: Performance of pre-optimization done (n=194): time 8.475e-06/0.5795, allocations: 4 kB / 0.5998 GB, free: 17.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=194): time 0.005954/0.5854, allocations: 2.563 MB / 0.6023 GB, free: 15.17 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.5855, allocations: 73.41 kB / 0.6024 GB, free: 15.09 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5866, allocations: 0.521 MB / 0.6029 GB, free: 14.55 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.5868, allocations: 61.7 kB / 0.603 GB, free: 14.49 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.5871, allocations: 421.7 kB / 0.6034 GB, free: 14.07 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006647/0.5877, allocations: 0.6891 MB / 0.6041 GB, free: 13.37 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005859/0.5884, allocations: 307.6 kB / 0.6044 GB, free: 13.06 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.5885, allocations: 338 kB / 0.6047 GB, free: 12.73 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.5903, allocations: 0.7806 MB / 0.6054 GB, free: 11.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.5921, allocations: 0.8099 MB / 0.6062 GB, free: 11.14 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004293/0.5964, allocations: 1.868 MB / 0.6081 GB, free: 9.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.5965, allocations: 0 / 0.6081 GB, free: 9.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.004627/0.6011, allocations: 2.054 MB / 0.6101 GB, free: 7.207 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.6012, allocations: 4 kB / 0.6101 GB, free: 7.203 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.6012, allocations: 0 / 0.6101 GB, free: 7.203 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-05/0.6013, allocations: 8 kB / 0.6101 GB, free: 7.195 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003982/0.6053, allocations: 0.5423 MB / 0.6106 GB, free: 6.652 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-05/0.6053, allocations: 8 kB / 0.6106 GB, free: 6.645 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.6074, allocations: 202.4 kB / 0.6108 GB, free: 6.445 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.6076, allocations: 52 kB / 0.6108 GB, free: 6.395 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 233 * 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.001353/0.6089, allocations: 0.4972 MB / 0.6113 GB, free: 5.887 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/0.6094, allocations: 90.97 kB / 0.6114 GB, free: 5.797 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005237/0.61, allocations: 181.7 kB / 0.6116 GB, free: 5.613 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.61, allocations: 20 kB / 0.6116 GB, free: 5.594 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/0.6101, allocations: 0 / 0.6116 GB, free: 5.594 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/0.6101, allocations: 15.89 kB / 0.6116 GB, free: 5.578 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.6134, allocations: 1.591 MB / 0.6132 GB, free: 3.934 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.6135, allocations: 3.938 kB / 0.6132 GB, free: 3.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004656/0.6182, allocations: 0.5462 MB / 0.6137 GB, free: 3.383 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.107e-05/0.6182, allocations: 8 kB / 0.6137 GB, free: 3.375 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/0.6186, allocations: 55.97 kB / 0.6138 GB, free: 3.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.69e-05/0.6186, allocations: 7.984 kB / 0.6138 GB, free: 3.312 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6186, allocations: 0 / 0.6138 GB, free: 3.312 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007138/0.6258, allocations: 3.14 MB / 0.6169 GB, free: 160 kB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006172/0.6264, allocations: 195.7 kB / 0.617 GB, free: 15.94 MB / 478.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003661/0.6268, allocations: 55.98 kB / 0.6171 GB, free: 15.89 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.6283, allocations: 103.9 kB / 0.6172 GB, free: 15.79 MB / 478.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/0.6287, allocations: 113.7 kB / 0.6173 GB, free: 15.67 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/0.6289, allocations: 44 kB / 0.6173 GB, free: 15.63 MB / 478.3 MB Notification: Performance of sorting global known variables: time 0.001015/0.6299, allocations: 411.1 kB / 0.6177 GB, free: 15.23 MB / 478.3 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6299, allocations: 0 / 0.6177 GB, free: 15.23 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.002297/0.6322, allocations: 0.4911 MB / 0.6182 GB, free: 14.74 MB / 478.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 39 (heatcapacitor[1].T,heatcapacitor[2].T,heatcapacitor[3].T,heatcapacitor[4].T,heatcapacitor[5].T,heatcapacitor[6].T,heatcapacitor[7].T,heatcapacitor[8].T,heatcapacitor[9].T,heatcapacitor[10].T,heatcapacitor[11].T,heatcapacitor[12].T,heatcapacitor[13].T,heatcapacitor[14].T,heatcapacitor[15].T,heatcapacitor[16].T,heatcapacitor[17].T,heatcapacitor[18].T,heatcapacitor[19].T,heatcapacitor[20].T,heatcapacitor[21].T,heatcapacitor[22].T,heatcapacitor[23].T,heatcapacitor[24].T,heatcapacitor[25].T,heatcapacitor[26].T,heatcapacitor[27].T,heatcapacitor[28].T,heatcapacitor[29].T,heatcapacitor[30].T,heatcapacitor[31].T,heatcapacitor[32].T,heatcapacitor[33].T,heatcapacitor[34].T,heatcapacitor[35].T,heatcapacitor[36].T,heatcapacitor[37].T,heatcapacitor[38].T,heatcapacitor[39].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 194 * 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 Backend phase and start with SimCode phase: time 0.008755/0.641, allocations: 3.759 MB / 0.6219 GB, free: 10.96 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.01697/0.658, allocations: 4.258 MB / 0.626 GB, free: 6.703 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.6581, allocations: 0 / 0.626 GB, free: 6.703 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.003035/0.6612, allocations: 0.9871 MB / 0.627 GB, free: 5.719 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.6636, allocations: 184 kB / 0.6272 GB, free: 5.543 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04689/0.7105, allocations: 15.46 MB / 0.6423 GB, free: 5.582 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.7127, allocations: 1.473 MB / 0.6437 GB, free: 4.074 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.003704/0.7164, allocations: 0.6996 MB / 0.6444 GB, free: 3.371 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/0.7181, allocations: 439.3 kB / 0.6448 GB, free: 2.941 MB / 494.3 MB Notification: Performance of SimCode: time 1.933e-06/0.7181, allocations: 0 / 0.6448 GB, free: 2.941 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2207/0.9388, allocations: 24.9 MB / 0.6691 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.08/19.01, allocations: 12.28 kB / 0.6692 GB, free: 10.29 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40_res.csv --start-time 0 --stop-time 1500 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_Modelica_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches