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.001142/0.001142, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 75.88 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3263, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003579/0.3299, allocations: 2.017 MB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3316, allocations: 0.8361 MB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.3318, allocations: 1.375 kB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.3321, allocations: 65.53 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.3326, allocations: 124.1 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.3329, allocations: 56.42 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.3333, allocations: 317.5 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/0.3334, allocations: 41 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.3337, allocations: 125.5 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.334, allocations: 148.6 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.334, allocations: 7.781 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.3343, allocations: 135.3 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.3344, allocations: 63.03 kB / 0.5344 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3346, allocations: 110.1 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.3352, allocations: 354.2 kB / 0.5348 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3352, allocations: 0 / 0.5348 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3352, allocations: 0 / 0.5348 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.3352, allocations: 0 / 0.5348 GB, free: 10.24 MB / 398.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.001081/0.3363, allocations: 0.5605 MB / 0.5353 GB, free: 9.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3363, allocations: 9.625 kB / 0.5354 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.417e-05/0.3364, allocations: 65.72 kB / 0.5354 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.3365, allocations: 35.62 kB / 0.5355 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.3368, allocations: 250.5 kB / 0.5357 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.3368, allocations: 19.56 kB / 0.5357 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.3369, allocations: 23.91 kB / 0.5357 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.3375, allocations: 393.1 kB / 0.5361 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3376, allocations: 5.344 kB / 0.5361 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.3376, allocations: 13.36 kB / 0.5361 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.3377, allocations: 30.25 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007973/0.3385, allocations: 410.6 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.34, allocations: 0.8623 MB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.3406, allocations: 273.1 kB / 0.5376 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.3408, allocations: 97.31 kB / 0.5377 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.3409, allocations: 11.58 kB / 0.5378 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3409, allocations: 35.69 kB / 0.5378 GB, free: 8.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.3409, allocations: 0 / 0.5378 GB, free: 8.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008011/0.3417, allocations: 336.2 kB / 0.5381 GB, free: 7.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.3418, allocations: 53.53 kB / 0.5382 GB, free: 7.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.3422, allocations: 346.8 kB / 0.5385 GB, free: 7.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3422, allocations: 31.14 kB / 0.5385 GB, free: 7.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3424, allocations: 166 kB / 0.5387 GB, free: 7.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.3424, allocations: 50.55 kB / 0.5387 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.3425, allocations: 49.95 kB / 0.5388 GB, free: 7.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3426, allocations: 347.6 kB / 0.5391 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.3428, allocations: 94.84 kB / 0.5392 GB, free: 7.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.3431, allocations: 135.6 kB / 0.5393 GB, free: 6.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.3435, allocations: 249.3 kB / 0.5396 GB, free: 6.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3435, allocations: 0 / 0.5396 GB, free: 6.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005831/0.3441, allocations: 304.4 kB / 0.5398 GB, free: 6.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3441, allocations: 5.25 kB / 0.5399 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3442, allocations: 2.812 kB / 0.5399 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3442, allocations: 2.438 kB / 0.5399 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.3448, allocations: 116.4 kB / 0.54 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.3468, allocations: 3.669 MB / 0.5436 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.3471, allocations: 29.66 kB / 0.5436 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3471, allocations: 12.48 kB / 0.5436 GB, free: 2.949 MB / 398.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.000205/0.3473, allocations: 181.5 kB / 0.5438 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.3474, allocations: 26.94 kB / 0.5438 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006645/0.3481, allocations: 329.7 kB / 0.5441 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3481, allocations: 1.281 kB / 0.5441 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3481, allocations: 8 kB / 0.5441 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3481, allocations: 1.188 kB / 0.5441 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.3485, allocations: 304 kB / 0.5444 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3485, allocations: 9.016 kB / 0.5444 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.349, allocations: 105.9 kB / 0.5445 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.349, allocations: 1.094 kB / 0.5445 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3491, allocations: 7.281 kB / 0.5445 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.3509, allocations: 3.671 MB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3509, allocations: 0 / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.3515, allocations: 358.6 kB / 0.5485 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3516, allocations: 99.23 kB / 0.5485 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.3517, allocations: 9.203 kB / 0.5486 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3518, allocations: 4.656 kB / 0.5486 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.3519, allocations: 18.83 kB / 0.5486 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3519, allocations: 9.328 kB / 0.5486 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002857/0.3522, allocations: 260.2 kB / 0.5488 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3522, allocations: 0 / 0.5488 GB, free: 14.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004355/0.3527, allocations: 76.16 kB / 0.5489 GB, free: 14.09 MB / 414.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.0009093/0.3536, allocations: 0.9078 MB / 0.5498 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008497/0.3544, allocations: 312.3 kB / 0.5501 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3545, allocations: 0 / 0.5501 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.355, allocations: 188.2 kB / 0.5503 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.3554, allocations: 68.33 kB / 0.5503 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.3595, allocations: 3.373 MB / 0.5536 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3598, allocations: 0.7987 MB / 0.5544 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.36, allocations: 70.22 kB / 0.5545 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3601, allocations: 79.41 kB / 0.5546 GB, free: 8.328 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3601, allocations: 0 / 0.5546 GB, free: 8.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.3887, allocations: 8.744 MB / 0.5631 GB, free: 15.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 6.078 kB / 0.5631 GB, free: 15.84 MB / 430.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