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.001393/0.001394, allocations: 103.5 kB / 17.06 MB, free: 5.832 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.001426/0.001426, allocations: 199.9 kB / 18 MB, free: 4.969 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.309/1.309, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.911/0.911, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 74.97 kB / 0.5705 GB, free: 39.94 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 80.69 MB / 0.6493 GB, free: 13.45 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20): time 0.002039/0.1287, allocations: 1.324 MB / 0.6506 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001829/0.1289, allocations: 51.8 kB / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.1289, allocations: 0 / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.163e-05/0.129, allocations: 0 / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.1291, allocations: 34.16 kB / 0.6507 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.1292, allocations: 15.97 kB / 0.6507 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.1296, allocations: 347.4 kB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.1296, allocations: 4 kB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1297, allocations: 123.8 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.13, allocations: 171.6 kB / 0.6513 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.13, allocations: 20 kB / 0.6514 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 4.606e-05/0.1301, allocations: 16 kB / 0.6514 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.1302, allocations: 115.8 kB / 0.6515 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1303, allocations: 123.5 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.1305, allocations: 203.1 kB / 0.6518 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1305, allocations: 3.938 kB / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1305, allocations: 0 / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1305, allocations: 3.938 kB / 0.6518 GB, free: 10.91 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002101/0.1326, allocations: 0.8585 MB / 0.6526 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1327, allocations: 12.03 kB / 0.6527 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.491e-05/0.1328, allocations: 46.73 kB / 0.6527 GB, free: 9.93 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.1328, allocations: 20.84 kB / 0.6527 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1331, allocations: 216.1 kB / 0.6529 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1331, allocations: 20.64 kB / 0.6529 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/0.1332, allocations: 40.27 kB / 0.653 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.1336, allocations: 224.6 kB / 0.6532 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1336, allocations: 7.938 kB / 0.6532 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1336, allocations: 11.97 kB / 0.6532 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1336, allocations: 4 kB / 0.6532 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.1338, allocations: 124.5 kB / 0.6533 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.1364, allocations: 1.813 MB / 0.6551 GB, free: 7.137 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00604/0.1424, allocations: 0.9116 MB / 0.656 GB, free: 6.215 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.1426, allocations: 96.73 kB / 0.6561 GB, free: 6.117 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.1426, allocations: 8 kB / 0.6561 GB, free: 6.109 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1427, allocations: 30.56 kB / 0.6561 GB, free: 6.07 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=19): time 1.834e-06/0.1427, allocations: 0 / 0.6561 GB, free: 6.07 MB / 0.4983 GB Notification: Performance of matching and sorting (n=19): time 0.0005916/0.1433, allocations: 321.4 kB / 0.6564 GB, free: 5.754 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.1433, allocations: 51.41 kB / 0.6565 GB, free: 5.691 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.1434, allocations: 117.8 kB / 0.6566 GB, free: 5.566 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1434, allocations: 29.7 kB / 0.6566 GB, free: 5.531 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.1435, allocations: 116.5 kB / 0.6567 GB, free: 5.414 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.1436, allocations: 90.75 kB / 0.6568 GB, free: 5.324 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.1437, allocations: 61.7 kB / 0.6569 GB, free: 5.258 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.1438, allocations: 326.8 kB / 0.6572 GB, free: 4.93 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.1439, allocations: 115.9 kB / 0.6573 GB, free: 4.816 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.1441, allocations: 116.3 kB / 0.6574 GB, free: 4.703 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.1445, allocations: 265.6 kB / 0.6577 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1445, allocations: 0 / 0.6577 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004711/0.145, allocations: 340.5 kB / 0.658 GB, free: 4.102 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.145, allocations: 12.38 kB / 0.658 GB, free: 4.09 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.145, allocations: 0 / 0.658 GB, free: 4.09 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.145, allocations: 0 / 0.658 GB, free: 4.09 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.1455, allocations: 75.88 kB / 0.6581 GB, free: 4.016 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1455, allocations: 7.938 kB / 0.6581 GB, free: 4.008 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.1458, allocations: 43.7 kB / 0.6581 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.1458, allocations: 8 kB / 0.6581 GB, free: 3.957 MB / 0.4983 GB 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 0.0001193/0.146, allocations: 142.6 kB / 0.6583 GB, free: 3.809 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.146, allocations: 11.84 kB / 0.6583 GB, free: 3.797 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1461, allocations: 40.83 kB / 0.6583 GB, free: 3.754 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1461, allocations: 4 kB / 0.6583 GB, free: 3.75 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1461, allocations: 0 / 0.6583 GB, free: 3.75 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1461, allocations: 0 / 0.6583 GB, free: 3.75 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.1465, allocations: 293.2 kB / 0.6586 GB, free: 3.414 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1465, allocations: 0 / 0.6586 GB, free: 3.414 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.147, allocations: 67.88 kB / 0.6587 GB, free: 3.348 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.147, allocations: 0 / 0.6587 GB, free: 3.348 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.147, allocations: 11.98 kB / 0.6587 GB, free: 3.336 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.147, allocations: 4 kB / 0.6587 GB, free: 3.332 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.147, allocations: 0 / 0.6587 GB, free: 3.332 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.1476, allocations: 434.6 kB / 0.6591 GB, free: 2.895 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.1477, allocations: 92.95 kB / 0.6592 GB, free: 2.785 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.1477, allocations: 11.98 kB / 0.6592 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.148, allocations: 19.97 kB / 0.6592 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.1481, allocations: 15.98 kB / 0.6592 GB, free: 2.738 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1481, allocations: 7.984 kB / 0.6592 GB, free: 2.73 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.1481, allocations: 91.22 kB / 0.6593 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1481, allocations: 0 / 0.6593 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002942/0.1484, allocations: 79.91 kB / 0.6594 GB, free: 2.562 MB / 0.4983 GB 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.0008045/0.1493, allocations: 0.979 MB / 0.6604 GB, free: 1.559 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004212/0.1497, allocations: 255.9 kB / 0.6606 GB, free: 1.309 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1497, allocations: 0 / 0.6606 GB, free: 1.309 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.1499, allocations: 106.8 kB / 0.6607 GB, free: 1.207 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1502, allocations: 64.09 kB / 0.6608 GB, free: 1.145 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.1538, allocations: 3.624 MB / 0.6643 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1541, allocations: 0.748 MB / 0.665 GB, free: 12.65 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0002541/0.1544, allocations: 85.48 kB / 0.6651 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.1545, allocations: 59.41 kB / 0.6652 GB, free: 12.51 MB / 0.5139 GB Notification: Performance of SimCode: time 3.61e-07/0.1545, allocations: 3.938 kB / 0.6652 GB, free: 12.51 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.1778, allocations: 5.822 MB / 0.6709 GB, free: 6.898 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.649, allocations: 10.8 kB / 0.6709 GB, free: 6.891 MB / 0.5139 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches