Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_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.OneDHeatTransferTT_FD_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_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.001703/0.001703, allocations: 109.7 kB / 16.92 MB, free: 5.762 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.001471/0.001471, allocations: 191.3 kB / 17.85 MB, free: 5.172 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.641/1.641, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.315/1.315, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 63.91 kB / 0.4911 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7747, allocations: 80.69 MB / 0.5699 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20): time 0.003673/0.7784, allocations: 1.341 MB / 0.5712 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002077/0.7787, allocations: 44.05 kB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.7787, allocations: 5.312 kB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.7788, allocations: 3.984 kB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.227e-05/0.7789, allocations: 25.34 kB / 0.5712 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.7791, allocations: 18.7 kB / 0.5713 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.7795, allocations: 346.6 kB / 0.5716 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.588e-05/0.7795, allocations: 2.781 kB / 0.5716 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.7797, allocations: 124 kB / 0.5717 GB, free: 42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.78, allocations: 176.2 kB / 0.5719 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.7801, allocations: 20.86 kB / 0.5719 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.7802, allocations: 16.94 kB / 0.5719 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.7803, allocations: 109.2 kB / 0.572 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.7805, allocations: 120.5 kB / 0.5721 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.7808, allocations: 205.8 kB / 0.5723 GB, free: 41.64 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.7808, allocations: 0 / 0.5723 GB, free: 41.64 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7808, allocations: 0 / 0.5723 GB, free: 41.64 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.7808, allocations: 0 / 0.5723 GB, free: 41.64 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.002257/0.7831, allocations: 0.8424 MB / 0.5732 GB, free: 41 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.7831, allocations: 10.31 kB / 0.5732 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.357e-05/0.7832, allocations: 48.64 kB / 0.5732 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.7833, allocations: 21.5 kB / 0.5732 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.7836, allocations: 210.2 kB / 0.5734 GB, free: 40.72 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.7836, allocations: 25.84 kB / 0.5735 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.7837, allocations: 29.23 kB / 0.5735 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.7841, allocations: 222.1 kB / 0.5737 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.7841, allocations: 7.875 kB / 0.5737 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.7842, allocations: 5.375 kB / 0.5737 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.7842, allocations: 3.312 kB / 0.5737 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.7844, allocations: 130.9 kB / 0.5738 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.7869, allocations: 1.74 MB / 0.5755 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005823/0.7927, allocations: 0.8719 MB / 0.5764 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.793, allocations: 92.06 kB / 0.5765 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.793, allocations: 3.156 kB / 0.5765 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.7931, allocations: 34.56 kB / 0.5765 GB, free: 38.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=18): time 2.645e-06/0.7931, allocations: 1.156 kB / 0.5765 GB, free: 38.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=18): time 0.0006815/0.7938, allocations: 305.6 kB / 0.5768 GB, free: 38.14 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.7938, allocations: 61.12 kB / 0.5769 GB, free: 38.07 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.7939, allocations: 123.6 kB / 0.577 GB, free: 37.95 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.7939, allocations: 35.05 kB / 0.577 GB, free: 37.91 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.794, allocations: 117.4 kB / 0.5771 GB, free: 37.8 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.7941, allocations: 79.75 kB / 0.5772 GB, free: 37.73 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.7942, allocations: 63.44 kB / 0.5773 GB, free: 37.69 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.7943, allocations: 324.3 kB / 0.5776 GB, free: 37.37 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.7945, allocations: 119.2 kB / 0.5777 GB, free: 37.31 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.7947, allocations: 113.9 kB / 0.5778 GB, free: 37.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.7951, allocations: 248.4 kB / 0.578 GB, free: 37.15 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7951, allocations: 0 / 0.578 GB, free: 37.15 MB / 462.3 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005728/0.7957, allocations: 334.5 kB / 0.5783 GB, free: 36.99 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.7957, allocations: 13.41 kB / 0.5784 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7957, allocations: 0 / 0.5784 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.7957, allocations: 1.844 kB / 0.5784 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.7963, allocations: 68.55 kB / 0.5784 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.7963, allocations: 4.844 kB / 0.5784 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.7966, allocations: 47.7 kB / 0.5785 GB, free: 36.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.7966, allocations: 6.469 kB / 0.5785 GB, free: 36.93 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 (36): * Single equations (assignments): 36 * 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.0003031/0.7969, allocations: 134.7 kB / 0.5786 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.7971, allocations: 13.38 kB / 0.5786 GB, free: 36.79 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.7972, allocations: 46.61 kB / 0.5787 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.7972, allocations: 1.844 kB / 0.5787 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.7972, allocations: 0.9375 kB / 0.5787 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.7973, allocations: 0 / 0.5787 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.7979, allocations: 276.1 kB / 0.5789 GB, free: 36.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.7979, allocations: 4.938 kB / 0.5789 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.7985, allocations: 49.17 kB / 0.579 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.7985, allocations: 5.75 kB / 0.579 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.7985, allocations: 9.547 kB / 0.579 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.7985, allocations: 0.9062 kB / 0.579 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7985, allocations: 4.938 kB / 0.579 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.7992, allocations: 428 kB / 0.5794 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.7993, allocations: 91.8 kB / 0.5795 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.7993, allocations: 10.45 kB / 0.5795 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.7996, allocations: 24.25 kB / 0.5795 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.7997, allocations: 9.516 kB / 0.5795 GB, free: 36.07 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.7997, allocations: 8.625 kB / 0.5796 GB, free: 36.06 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.567e-05/0.7998, allocations: 92.45 kB / 0.5796 GB, free: 35.98 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7998, allocations: 0 / 0.5796 GB, free: 35.98 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004105/0.8002, allocations: 77.19 kB / 0.5797 GB, free: 35.97 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (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]) * 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 (18): * Single equations (assignments): 18 * 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.0008338/0.801, allocations: 0.9707 MB / 0.5807 GB, free: 35.17 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005704/0.8016, allocations: 282.8 kB / 0.5809 GB, free: 35.06 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8016, allocations: 0 / 0.5809 GB, free: 35.06 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.8018, allocations: 105.8 kB / 0.581 GB, free: 35.02 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.8023, allocations: 57.23 kB / 0.5811 GB, free: 34.98 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.8066, allocations: 3.535 MB / 0.5845 GB, free: 32.32 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.807, allocations: 0.7401 MB / 0.5853 GB, free: 31.6 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.8074, allocations: 95.64 kB / 0.5854 GB, free: 31.55 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.8075, allocations: 57.58 kB / 0.5854 GB, free: 31.51 MB / 462.3 MB Notification: Performance of SimCode: time 1.182e-06/0.8075, allocations: 0 / 0.5854 GB, free: 31.51 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/0.8478, allocations: 5.587 MB / 0.5909 GB, free: 27.64 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.944/10.79, allocations: 4.375 kB / 0.5909 GB, free: 27.64 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_20_fmu --startTime=0 --stopTime=350 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches