Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_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.001144/0.001144, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.88 kB / 417.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1109, allocations: 62.44 MB / 480.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002833/0.1138, allocations: 2.033 MB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1151, allocations: 0.9268 MB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.1152, allocations: 0 / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.1154, allocations: 63.59 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.1157, allocations: 123.4 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.1159, allocations: 79.66 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1163, allocations: 390.1 kB / 483.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.1164, allocations: 44.72 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1166, allocations: 155.2 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1168, allocations: 187.1 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.1169, allocations: 8 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.1171, allocations: 139.8 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1172, allocations: 99.53 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1174, allocations: 154.9 kB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.1178, allocations: 430.6 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.1178, allocations: 0 / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1178, allocations: 0 / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1178, allocations: 0 / 484.9 MB, free: 328 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.000868/0.1187, allocations: 0.663 MB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1187, allocations: 8.031 kB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.665e-05/0.1188, allocations: 82.7 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.1189, allocations: 44.47 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.1191, allocations: 279.6 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1192, allocations: 21.38 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.1192, allocations: 40.36 kB / 486.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.1199, allocations: 0.5569 MB / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.12, allocations: 0 / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.12, allocations: 20 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/0.1201, allocations: 36.98 kB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008453/0.1209, allocations: 0.5737 MB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.1225, allocations: 1.175 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.1232, allocations: 385.7 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.1235, allocations: 136.9 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.1235, allocations: 7.984 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1235, allocations: 38.56 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.1235, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00101/0.1246, allocations: 460.8 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1246, allocations: 55.41 kB / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.1251, allocations: 453.6 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.1251, allocations: 33.8 kB / 490 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.1253, allocations: 192.3 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.1253, allocations: 78.89 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.1254, allocations: 49.7 kB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1256, allocations: 354.7 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.1258, allocations: 115.9 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1261, allocations: 122.9 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.1266, allocations: 260.6 kB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1266, allocations: 0 / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005985/0.1272, allocations: 342.1 kB / 491.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1272, allocations: 11.94 kB / 491.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1272, allocations: 0 / 491.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1272, allocations: 0 / 491.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.1279, allocations: 159.8 kB / 491.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.1308, allocations: 5.516 MB / 497.1 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.1311, allocations: 51.33 kB / 497.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.1311, allocations: 12.28 kB / 497.2 MB, free: 3.621 MB / 366.1 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.1313, allocations: 197.7 kB / 497.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.1314, allocations: 31.62 kB / 497.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008995/0.1323, allocations: 460 kB / 497.9 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1323, allocations: 4 kB / 497.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1323, allocations: 0 / 497.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1323, allocations: 4 kB / 497.9 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.1328, allocations: 377.2 kB / 498.2 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1328, allocations: 3.938 kB / 498.2 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/0.1335, allocations: 155.9 kB / 498.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1335, allocations: 0 / 498.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.1335, allocations: 8 kB / 498.4 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/0.1367, allocations: 5.513 MB / 0.4921 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1368, allocations: 3.938 kB / 0.4921 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.1375, allocations: 447 kB / 0.4925 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.1376, allocations: 124.6 kB / 0.4927 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.1376, allocations: 4 kB / 0.4927 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1378, allocations: 7.984 kB / 0.4927 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.1379, allocations: 27.91 kB / 0.4927 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.138, allocations: 12 kB / 0.4927 GB, free: 11.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003294/0.1383, allocations: 339 kB / 0.493 GB, free: 11.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1383, allocations: 0 / 0.493 GB, free: 11.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.1387, allocations: 95.98 kB / 0.4931 GB, free: 11.55 MB / 382.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/0.1399, allocations: 1.02 MB / 0.4941 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.1411, allocations: 438.8 kB / 0.4945 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1411, allocations: 0 / 0.4945 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008155/0.1419, allocations: 275.7 kB / 0.4948 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.1425, allocations: 85.44 kB / 0.4949 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0062/0.1487, allocations: 4.448 MB / 0.4992 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.1494, allocations: 0.8504 MB / 0.5001 GB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.1497, allocations: 83.22 kB / 0.5001 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.1498, allocations: 115.4 kB / 0.5002 GB, free: 4.121 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1498, allocations: 4 kB / 0.5002 GB, free: 4.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2188/0.3686, allocations: 11.33 MB / 0.5113 GB, free: 43.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.01, allocations: 3.25 kB / 0.5113 GB, free: 43.13 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches