Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_cpp_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_cpp_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/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 193.9 kB / 16.09 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 226.5 MB / 243.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007709/0.0007706, allocations: 103.2 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2756/0.2756, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002592, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2594, allocations: 62.95 MB / 0.516 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.001556/0.261, allocations: 1.687 MB / 0.5176 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.2619, allocations: 0.8459 MB / 0.5184 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.262, allocations: 0 / 0.5184 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.2622, allocations: 51.3 kB / 0.5185 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.2625, allocations: 110.5 kB / 0.5186 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.2626, allocations: 76.8 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.2629, allocations: 453.8 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.309e-05/0.263, allocations: 42.64 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.2632, allocations: 147.5 kB / 0.5193 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.2634, allocations: 187.4 kB / 0.5195 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.2634, allocations: 8.438 kB / 0.5195 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.2636, allocations: 123.5 kB / 0.5196 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.2637, allocations: 105.7 kB / 0.5197 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.2638, allocations: 169 kB / 0.5199 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.264, allocations: 309.6 kB / 0.5201 GB, free: 34.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.945e-05/0.2641, allocations: 0 / 0.5201 GB, free: 34.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2641, allocations: 0 / 0.5201 GB, free: 34.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2641, allocations: 0 / 0.5201 GB, free: 34.65 MB / 378.7 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.0006761/0.2648, allocations: 0.5879 MB / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2648, allocations: 11.28 kB / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/0.2649, allocations: 83.81 kB / 0.5208 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.2649, allocations: 40.66 kB / 0.5208 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.2652, allocations: 280 kB / 0.5211 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2652, allocations: 28.19 kB / 0.5211 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.2653, allocations: 31.81 kB / 0.5212 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.2659, allocations: 0.5639 MB / 0.5217 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.266, allocations: 0 / 0.5217 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.266, allocations: 15.09 kB / 0.5217 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-05/0.266, allocations: 39.48 kB / 0.5218 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007466/0.2668, allocations: 0.5795 MB / 0.5223 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.2681, allocations: 1.185 MB / 0.5235 GB, free: 32.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.2687, allocations: 388.4 kB / 0.5239 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.2689, allocations: 140.3 kB / 0.524 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.2689, allocations: 10.98 kB / 0.524 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.269, allocations: 41.56 kB / 0.5241 GB, free: 32.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.269, allocations: 0 / 0.5241 GB, free: 32.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008054/0.2698, allocations: 481 kB / 0.5245 GB, free: 32.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.2698, allocations: 51.41 kB / 0.5246 GB, free: 32.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.2702, allocations: 451.4 kB / 0.525 GB, free: 32.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2702, allocations: 28.39 kB / 0.525 GB, free: 32.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.2703, allocations: 185.7 kB / 0.5252 GB, free: 32.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.2703, allocations: 74.02 kB / 0.5253 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.2703, allocations: 0 / 0.5253 GB, free: 32.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.764e-05/0.2704, allocations: 357.8 kB / 0.5256 GB, free: 31.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2706, allocations: 122.2 kB / 0.5257 GB, free: 31.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.2708, allocations: 125.5 kB / 0.5258 GB, free: 31.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.2713, allocations: 276.9 kB / 0.5261 GB, free: 31.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2713, allocations: 3.062 kB / 0.5261 GB, free: 31.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005129/0.2718, allocations: 350.5 kB / 0.5264 GB, free: 31.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2718, allocations: 14.09 kB / 0.5265 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.2718, allocations: 7.922 kB / 0.5265 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2718, allocations: 0 / 0.5265 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.2725, allocations: 156.6 kB / 0.5266 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.274, allocations: 5.519 MB / 0.532 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.2742, allocations: 52.33 kB / 0.5321 GB, free: 26.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.2743, allocations: 9.344 kB / 0.5321 GB, free: 26.17 MB / 378.7 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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.2744, allocations: 193.6 kB / 0.5322 GB, free: 26.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.2745, allocations: 39.86 kB / 0.5323 GB, free: 26.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007236/0.2752, allocations: 463.9 kB / 0.5327 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2752, allocations: 3 kB / 0.5327 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2752, allocations: 0 / 0.5327 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2753, allocations: 4 kB / 0.5327 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.2756, allocations: 379.1 kB / 0.5331 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2756, allocations: 0 / 0.5331 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006236/0.2762, allocations: 159.3 kB / 0.5332 GB, free: 25.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2762, allocations: 0 / 0.5332 GB, free: 25.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.2763, allocations: 9.25 kB / 0.5333 GB, free: 25.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.2778, allocations: 5.524 MB / 0.5387 GB, free: 20.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2778, allocations: 6.719 kB / 0.5387 GB, free: 20.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.2783, allocations: 455.8 kB / 0.5391 GB, free: 20.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.2784, allocations: 118.3 kB / 0.5392 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.2785, allocations: 6.875 kB / 0.5392 GB, free: 19.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.2787, allocations: 8.703 kB / 0.5392 GB, free: 19.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.2788, allocations: 27.39 kB / 0.5392 GB, free: 19.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.2788, allocations: 12.28 kB / 0.5393 GB, free: 19.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002609/0.2791, allocations: 332.1 kB / 0.5396 GB, free: 19.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2791, allocations: 0 / 0.5396 GB, free: 19.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.2794, allocations: 106.5 kB / 0.5397 GB, free: 19.73 MB / 378.7 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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008637/0.2803, allocations: 1.026 MB / 0.5407 GB, free: 18.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2813, allocations: 412.1 kB / 0.5411 GB, free: 18.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2813, allocations: 4 kB / 0.5411 GB, free: 18.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007283/0.2821, allocations: 275.9 kB / 0.5413 GB, free: 18.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2825, allocations: 85.52 kB / 0.5414 GB, free: 18.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.2855, allocations: 2.709 MB / 0.5441 GB, free: 17.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.2857, allocations: 0.8438 MB / 0.5449 GB, free: 17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.2859, allocations: 111.6 kB / 0.545 GB, free: 16.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2859, allocations: 0 / 0.545 GB, free: 16.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.88/5.166, allocations: 20.03 MB / 0.5646 GB, free: 6.844 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches