Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.001034/0.001034, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001029/0.001029, allocations: 213.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.29/1.29, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.11 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 77.5 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 62.44 MB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003185/0.1119, allocations: 2.074 MB / 481.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.1146, allocations: 1.896 MB / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1147, allocations: 0 / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.115, allocations: 59.72 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.1154, allocations: 107.5 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007877/0.1162, allocations: 318.7 kB / 483.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.1166, allocations: 0.5019 MB / 484.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.1167, allocations: 48.72 kB / 484.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.117, allocations: 135.2 kB / 484.5 MB, free: 440 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.1173, allocations: 195.1 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.1174, allocations: 12 kB / 484.7 MB, free: 232 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008635/0.1182, allocations: 0.5502 MB / 485.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1184, allocations: 87.59 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.1186, allocations: 158.8 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000853/0.1194, allocations: 0.6305 MB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1194, allocations: 3.938 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1194, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1194, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.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.001237/0.1207, allocations: 0.6905 MB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1207, allocations: 8.031 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.225e-05/0.1208, allocations: 82.7 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.1209, allocations: 40.47 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.1212, allocations: 283.6 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1213, allocations: 29.36 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.1213, allocations: 32.38 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008018/0.1221, allocations: 0.5609 MB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1221, allocations: 3.984 kB / 487.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.1222, allocations: 15.98 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.594e-05/0.1222, allocations: 40.98 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009497/0.1232, allocations: 0.5659 MB / 488.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.125, allocations: 1.179 MB / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.1257, allocations: 373.6 kB / 490 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.126, allocations: 140.9 kB / 490.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.126, allocations: 15.97 kB / 490.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.126, allocations: 34.59 kB / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.1261, allocations: 0 / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009453/0.127, allocations: 456.8 kB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1271, allocations: 55.41 kB / 490.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.1275, allocations: 457.6 kB / 491.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.1276, allocations: 33.7 kB / 491.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1277, allocations: 184.4 kB / 491.4 MB, free: 9.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/0.1278, allocations: 78.84 kB / 491.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.1279, allocations: 45.7 kB / 491.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1281, allocations: 354.7 kB / 491.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1283, allocations: 119.9 kB / 492 MB, free: 8.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.1286, allocations: 127.4 kB / 492.1 MB, free: 8.629 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.1291, allocations: 260.6 kB / 492.4 MB, free: 8.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1291, allocations: 4 kB / 492.4 MB, free: 8.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006511/0.1298, allocations: 339.8 kB / 492.7 MB, free: 8.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1298, allocations: 11.94 kB / 492.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1298, allocations: 0 / 492.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1298, allocations: 4 kB / 492.7 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/0.1306, allocations: 159.8 kB / 492.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.1335, allocations: 5.512 MB / 498.4 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.1337, allocations: 51.55 kB / 498.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.1337, allocations: 8 kB / 498.4 MB, free: 2.078 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.0002027/0.1339, allocations: 197.6 kB / 498.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.134, allocations: 35.56 kB / 498.7 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008348/0.1349, allocations: 456.5 kB / 499.1 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1349, allocations: 7.984 kB / 499.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1349, allocations: 0 / 499.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1349, allocations: 0 / 499.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.1353, allocations: 377.2 kB / 499.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1353, allocations: 0 / 499.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007074/0.1361, allocations: 155.9 kB / 499.6 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1361, allocations: 3.984 kB / 499.6 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.1361, allocations: 8 kB / 499.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/0.1388, allocations: 5.516 MB / 0.4933 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1388, allocations: 3.938 kB / 0.4933 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.1395, allocations: 447.1 kB / 0.4938 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1396, allocations: 120.6 kB / 0.4939 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.1397, allocations: 7.984 kB / 0.4939 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.1399, allocations: 8 kB / 0.4939 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.14, allocations: 23.91 kB / 0.4939 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.14, allocations: 15.98 kB / 0.4939 GB, free: 10.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.1403, allocations: 335.1 kB / 0.4942 GB, free: 10.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1403, allocations: 0 / 0.4942 GB, free: 10.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00046/0.1408, allocations: 143.9 kB / 0.4944 GB, free: 9.953 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.001273/0.1421, allocations: 1.088 MB / 0.4954 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.1432, allocations: 410.5 kB / 0.4958 GB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1432, allocations: 0 / 0.4958 GB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008452/0.1441, allocations: 271.7 kB / 0.4961 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.1446, allocations: 89.42 kB / 0.4962 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.1502, allocations: 4.551 MB / 0.5006 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.1506, allocations: 0.8465 MB / 0.5014 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.1508, allocations: 91.19 kB / 0.5015 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.151, allocations: 111.4 kB / 0.5016 GB, free: 2.395 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.151, allocations: 0 / 0.5016 GB, free: 2.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.194/4.345, allocations: 12.28 MB / 0.5136 GB, free: 40.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.03253/4.378, allocations: 278.7 kB / 0.5139 GB, free: 40.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/7.207, allocations: 2.5 kB / 0.5139 GB, free: 40.58 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches