Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001819/0.001819, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002316/0.002316, allocations: 203.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 180] 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_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 83.86 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3264, allocations: 66.08 MB / 0.5607 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003328/0.3297, allocations: 1.958 MB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3312, allocations: 0.8578 MB / 0.5635 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.3312, allocations: 4 kB / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.3315, allocations: 51.67 kB / 0.5635 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.3319, allocations: 135.4 kB / 0.5637 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.3321, allocations: 91.64 kB / 0.5637 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.3325, allocations: 382.2 kB / 0.5641 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.492e-05/0.3326, allocations: 16.92 kB / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.3329, allocations: 159.2 kB / 0.5643 GB, free: 232 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.3331, allocations: 183.1 kB / 0.5645 GB, free: 48 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.3331, allocations: 15.94 kB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.3334, allocations: 75.88 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.3335, allocations: 95.53 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3336, allocations: 131.1 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.3341, allocations: 419.9 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3341, allocations: 0 / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3341, allocations: 0 / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3341, allocations: 0 / 0.5652 GB, free: 15.32 MB / 414.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.001023/0.3352, allocations: 0.5949 MB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.3352, allocations: 16.02 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.863e-05/0.3353, allocations: 78.72 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.884e-05/0.3354, allocations: 44.66 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.3358, allocations: 225.9 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.3358, allocations: 29.38 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.3359, allocations: 44.3 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008683/0.3368, allocations: 0.5531 MB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3368, allocations: 7.922 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.3368, allocations: 12 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/0.3369, allocations: 40.98 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.3379, allocations: 0.5659 MB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.3398, allocations: 1.101 MB / 0.5684 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.3404, allocations: 362.2 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.3407, allocations: 132.9 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.3407, allocations: 4 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3408, allocations: 38.56 kB / 0.5689 GB, free: 11.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.3408, allocations: 0 / 0.5689 GB, free: 11.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009963/0.3418, allocations: 465 kB / 0.5693 GB, free: 10.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.3418, allocations: 55.41 kB / 0.5694 GB, free: 10.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.3424, allocations: 449.6 kB / 0.5698 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.3424, allocations: 33.7 kB / 0.5699 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.3426, allocations: 192.4 kB / 0.57 GB, free: 10.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.3426, allocations: 79.31 kB / 0.5701 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.3427, allocations: 49.69 kB / 0.5702 GB, free: 10.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3429, allocations: 354.7 kB / 0.5705 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.3431, allocations: 115.9 kB / 0.5706 GB, free: 9.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.3434, allocations: 119.2 kB / 0.5707 GB, free: 9.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/0.3439, allocations: 264.6 kB / 0.571 GB, free: 9.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3439, allocations: 7.938 kB / 0.571 GB, free: 9.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006352/0.3445, allocations: 344.1 kB / 0.5713 GB, free: 8.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3446, allocations: 7.938 kB / 0.5713 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3446, allocations: 0 / 0.5713 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3446, allocations: 3.984 kB / 0.5713 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/0.3453, allocations: 163.9 kB / 0.5715 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/0.3488, allocations: 5.516 MB / 0.5769 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.349, allocations: 40.38 kB / 0.5769 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.349, allocations: 15.98 kB / 0.5769 GB, free: 2.871 MB / 414.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.000243/0.3493, allocations: 193.6 kB / 0.5771 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.3493, allocations: 39.75 kB / 0.5771 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008874/0.3502, allocations: 460.5 kB / 0.5776 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3502, allocations: 0 / 0.5776 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3502, allocations: 4 kB / 0.5776 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3502, allocations: 0 / 0.5776 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.3507, allocations: 332.3 kB / 0.5779 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3507, allocations: 0 / 0.5779 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/0.3514, allocations: 163.9 kB / 0.5781 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3514, allocations: 4 kB / 0.5781 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.3514, allocations: 11.98 kB / 0.5781 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/0.3547, allocations: 5.509 MB / 0.5835 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3547, allocations: 3.938 kB / 0.5835 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.3555, allocations: 454.3 kB / 0.5839 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3556, allocations: 39.69 kB / 0.5839 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.3556, allocations: 8.375 kB / 0.5839 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.3558, allocations: 11.98 kB / 0.5839 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.3559, allocations: 23.91 kB / 0.584 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.3559, allocations: 15.98 kB / 0.584 GB, free: 11.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003756/0.3563, allocations: 335.1 kB / 0.5843 GB, free: 11.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3563, allocations: 0 / 0.5843 GB, free: 11.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.3567, allocations: 103.8 kB / 0.5844 GB, free: 10.93 MB / 430.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.001134/0.3578, allocations: 1.013 MB / 0.5854 GB, free: 9.891 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3589, allocations: 399.5 kB / 0.5858 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3589, allocations: 4 kB / 0.5858 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008133/0.3597, allocations: 275.7 kB / 0.586 GB, free: 9.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.3602, allocations: 100.7 kB / 0.5861 GB, free: 9.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/0.366, allocations: 4.362 MB / 0.5904 GB, free: 4.684 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3662, allocations: 248.4 kB / 0.5906 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.3665, allocations: 83.22 kB / 0.5907 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.3666, allocations: 107.4 kB / 0.5908 GB, free: 4.234 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3666, allocations: 0 / 0.5908 GB, free: 4.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04259/0.4092, allocations: 12.9 MB / 0.6034 GB, free: 7.582 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.06, allocations: 25.89 kB / 0.6034 GB, free: 7.562 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.365735945291817]