Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.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_FD_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_20",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.001184/0.001184, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001138/0.001138, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.181/1.181, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.725/0.725, allocations: 119.3 MB / 410.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.89 kB / 0.4904 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4206, allocations: 80.67 MB / 0.5692 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20): time 0.002476/0.4231, allocations: 1.393 MB / 0.5705 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001727/0.4233, allocations: 44.62 kB / 0.5706 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.4233, allocations: 4 kB / 0.5706 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.851e-05/0.4234, allocations: 5.047 kB / 0.5706 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.634e-05/0.4235, allocations: 33.03 kB / 0.5706 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.4237, allocations: 11.55 kB / 0.5706 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.4241, allocations: 394.8 kB / 0.571 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.4241, allocations: 7.359 kB / 0.571 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.4243, allocations: 111.3 kB / 0.5711 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.4246, allocations: 189.3 kB / 0.5713 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.4246, allocations: 16.78 kB / 0.5713 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.006e-05/0.4247, allocations: 19.28 kB / 0.5713 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.4248, allocations: 120.4 kB / 0.5714 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.425, allocations: 120.9 kB / 0.5715 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.4253, allocations: 209.5 kB / 0.5717 GB, free: 41.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4253, allocations: 1.094 kB / 0.5717 GB, free: 41.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.62e-07/0.4253, allocations: 0 / 0.5717 GB, free: 41.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.4253, allocations: 0 / 0.5717 GB, free: 41.73 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002181/0.4275, allocations: 0.8487 MB / 0.5726 GB, free: 41.09 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.4275, allocations: 9.969 kB / 0.5726 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.4276, allocations: 53.23 kB / 0.5726 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.4276, allocations: 21.41 kB / 0.5727 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.4278, allocations: 211.8 kB / 0.5729 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.4278, allocations: 17.14 kB / 0.5729 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.4279, allocations: 33.78 kB / 0.5729 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.4282, allocations: 232 kB / 0.5731 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4282, allocations: 3.938 kB / 0.5731 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.4282, allocations: 13.44 kB / 0.5731 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4282, allocations: 4.125 kB / 0.5731 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.4284, allocations: 123.1 kB / 0.5733 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.4305, allocations: 1.819 MB / 0.575 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006804/0.4374, allocations: 0.912 MB / 0.5759 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.4375, allocations: 98.77 kB / 0.576 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.4375, allocations: 1.781 kB / 0.576 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.002e-05/0.4376, allocations: 36.38 kB / 0.5761 GB, free: 38.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=19): time 1.093e-06/0.4376, allocations: 0 / 0.5761 GB, free: 38.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=19): time 0.0005209/0.4381, allocations: 321.7 kB / 0.5764 GB, free: 38.13 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.71e-05/0.4381, allocations: 56.78 kB / 0.5764 GB, free: 38.06 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.323e-05/0.4382, allocations: 123.5 kB / 0.5765 GB, free: 37.95 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4382, allocations: 31.08 kB / 0.5766 GB, free: 37.91 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.4382, allocations: 115.3 kB / 0.5767 GB, free: 37.8 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.4383, allocations: 84.42 kB / 0.5768 GB, free: 37.72 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.4384, allocations: 61.2 kB / 0.5768 GB, free: 37.68 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.667e-05/0.4384, allocations: 328.3 kB / 0.5771 GB, free: 37.36 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.4386, allocations: 118.3 kB / 0.5772 GB, free: 37.31 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.4387, allocations: 116.7 kB / 0.5774 GB, free: 37.26 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.4391, allocations: 261.5 kB / 0.5776 GB, free: 37.14 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4391, allocations: 0 / 0.5776 GB, free: 37.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004619/0.4396, allocations: 334.8 kB / 0.5779 GB, free: 36.98 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4396, allocations: 4.594 kB / 0.5779 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.4396, allocations: 0 / 0.5779 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.4396, allocations: 1.875 kB / 0.5779 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.4401, allocations: 83.22 kB / 0.578 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4401, allocations: 1.844 kB / 0.578 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.4404, allocations: 55.33 kB / 0.5781 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.4405, allocations: 6.438 kB / 0.5781 GB, free: 36.92 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 (38): * Single equations (assignments): 38 * 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 8.493e-05/0.4406, allocations: 134.7 kB / 0.5782 GB, free: 36.79 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.4406, allocations: 13.34 kB / 0.5782 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.4407, allocations: 46.7 kB / 0.5783 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4407, allocations: 1.844 kB / 0.5783 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4407, allocations: 0 / 0.5783 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4407, allocations: 0.9062 kB / 0.5783 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.441, allocations: 282.9 kB / 0.5785 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.441, allocations: 0 / 0.5785 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.4415, allocations: 59.84 kB / 0.5786 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4415, allocations: 4.875 kB / 0.5786 GB, free: 36.45 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.4416, allocations: 14.45 kB / 0.5786 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4416, allocations: 0.9062 kB / 0.5786 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4416, allocations: 0.7812 kB / 0.5786 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.4421, allocations: 433.8 kB / 0.579 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.4421, allocations: 92.58 kB / 0.5791 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.4422, allocations: 17.52 kB / 0.5791 GB, free: 36.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.4425, allocations: 24.94 kB / 0.5791 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.4426, allocations: 16.94 kB / 0.5792 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.4426, allocations: 8.094 kB / 0.5792 GB, free: 36.03 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.544e-05/0.4426, allocations: 95.33 kB / 0.5793 GB, free: 35.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4426, allocations: 0.9062 kB / 0.5793 GB, free: 35.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002933/0.4429, allocations: 82.97 kB / 0.5793 GB, free: 35.93 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19]) * 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 (19): * Single equations (assignments): 19 * 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.0006452/0.4436, allocations: 0.9784 MB / 0.5803 GB, free: 35.13 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.4439, allocations: 255.4 kB / 0.5805 GB, free: 35.03 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4439, allocations: 0 / 0.5805 GB, free: 35.03 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.4441, allocations: 109.5 kB / 0.5806 GB, free: 34.99 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.4444, allocations: 41.44 kB / 0.5807 GB, free: 34.97 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.4474, allocations: 3.69 MB / 0.5843 GB, free: 32.18 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.4476, allocations: 0.7435 MB / 0.585 GB, free: 31.46 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.4479, allocations: 87.33 kB / 0.5851 GB, free: 31.42 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.448, allocations: 58.44 kB / 0.5852 GB, free: 31.37 MB / 462.3 MB Notification: Performance of SimCode: time 2.9e-07/0.448, allocations: 0 / 0.5852 GB, free: 31.37 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.63/1.078, allocations: 5.429 MB / 0.5905 GB, free: 27.62 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.078, allocations: 243.3 kB / 0.5907 GB, free: 27.36 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/3.078, allocations: 6.719 kB / 0.5907 GB, free: 27.36 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_20_fmu --startTime=0 --stopTime=1500 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches