Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.3 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 85.31 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1166, allocations: 62.44 MB / 479.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003202/0.1198, allocations: 2.074 MB / 481.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1212, allocations: 0.8413 MB / 482.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1213, allocations: 4 kB / 482.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1216, allocations: 55.72 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.122, allocations: 115.5 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.1222, allocations: 51.88 kB / 482.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.1226, allocations: 450.4 kB / 483 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.471e-05/0.1227, allocations: 32.38 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.123, allocations: 119.4 kB / 483.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.1232, allocations: 155.3 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.1233, allocations: 4 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.1235, allocations: 131.8 kB / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.1236, allocations: 67.67 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1238, allocations: 107.3 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.1242, allocations: 335 kB / 483.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1242, allocations: 4 kB / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1242, allocations: 0 / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1242, allocations: 0 / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008569/0.1251, allocations: 0.5576 MB / 484.5 MB, free: 440 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1251, allocations: 12.88 kB / 484.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.641e-05/0.1252, allocations: 66.7 kB / 484.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.1253, allocations: 36.56 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1255, allocations: 244.2 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1255, allocations: 20.56 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.1256, allocations: 28.06 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.1262, allocations: 397.1 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1262, allocations: 0 / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.1262, allocations: 8 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.1263, allocations: 32.61 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.127, allocations: 410.3 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.1283, allocations: 0.8695 MB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.1289, allocations: 274.3 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.1291, allocations: 100.7 kB / 486.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.1291, allocations: 7.938 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1291, allocations: 38.48 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.1292, allocations: 0 / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007594/0.1299, allocations: 327.5 kB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.13, allocations: 63.39 kB / 487.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.1304, allocations: 347.2 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1304, allocations: 29.7 kB / 487.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1305, allocations: 164.1 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.1306, allocations: 51.3 kB / 487.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.1307, allocations: 45.7 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1309, allocations: 350.7 kB / 488.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.1311, allocations: 91.91 kB / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.1314, allocations: 142 kB / 488.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.1318, allocations: 245.7 kB / 488.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1318, allocations: 4 kB / 488.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006065/0.1325, allocations: 306.8 kB / 489.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1325, allocations: 4 kB / 489.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1325, allocations: 0 / 489.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1325, allocations: 4 kB / 489.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.1331, allocations: 115.8 kB / 489.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.1352, allocations: 3.665 MB / 492.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.1354, allocations: 35.62 kB / 492.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.1354, allocations: 11.98 kB / 492.9 MB, free: 7.609 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.1356, allocations: 173.7 kB / 493.1 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.1357, allocations: 31.84 kB / 493.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006979/0.1364, allocations: 327.1 kB / 493.5 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1364, allocations: 4 kB / 493.5 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1364, allocations: 0 / 493.5 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.1364, allocations: 3.938 kB / 493.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.1368, allocations: 309.3 kB / 493.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1369, allocations: 3.938 kB / 493.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.1374, allocations: 107.9 kB / 493.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1374, allocations: 0 / 493.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1374, allocations: 8 kB / 493.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.1393, allocations: 3.668 MB / 497.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1393, allocations: 0 / 497.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.1399, allocations: 353.8 kB / 497.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.14, allocations: 108.9 kB / 498 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.14, allocations: 4 kB / 498 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.1402, allocations: 8 kB / 498 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.1403, allocations: 19.95 kB / 498 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1403, allocations: 8 kB / 498 MB, free: 2.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000263/0.1405, allocations: 253.9 kB / 498.3 MB, free: 2.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1406, allocations: 0 / 498.3 MB, free: 2.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000362/0.1409, allocations: 83.91 kB / 498.4 MB, free: 1.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009603/0.1419, allocations: 0.9111 MB / 499.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008519/0.1427, allocations: 291.7 kB / 499.6 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1428, allocations: 0 / 499.6 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.1434, allocations: 192.2 kB / 499.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1438, allocations: 64.55 kB / 499.8 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.1479, allocations: 3.471 MB / 0.4915 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1482, allocations: 0.7948 MB / 0.4923 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.1484, allocations: 74.2 kB / 0.4923 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1485, allocations: 75.41 kB / 0.4924 GB, free: 11.91 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1485, allocations: 0 / 0.4924 GB, free: 11.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.438/1.586, allocations: 8.035 MB / 0.5003 GB, free: 4.137 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/1.587, allocations: 298.8 kB / 0.5005 GB, free: 3.754 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/4.09, allocations: 6.281 kB / 0.5006 GB, free: 3.75 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches