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.001529/0.001529, allocations: 114 kB / 20.43 MB, free: 1.457 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.001723/0.001723, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2271/0.2271, allocations: 46.92 MB / 360.8 MB, free: 4.258 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.002462/0.002462, allocations: 79.86 kB / 0.4962 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3489, allocations: 66.08 MB / 0.5608 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003697/0.3526, allocations: 2.049 MB / 0.5628 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3543, allocations: 0.9433 MB / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.3543, allocations: 0 / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.3546, allocations: 63.64 kB / 0.5637 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.355, allocations: 131.4 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.3553, allocations: 95.58 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.3558, allocations: 386.2 kB / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.291e-05/0.3558, allocations: 16.88 kB / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.3561, allocations: 159.2 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.3564, allocations: 183.1 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.3564, allocations: 12 kB / 0.5647 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.3567, allocations: 159.7 kB / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.3569, allocations: 99.52 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.357, allocations: 154.9 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006225/0.3577, allocations: 439.8 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3577, allocations: 0 / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3577, allocations: 0 / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.3577, allocations: 0 / 0.5655 GB, free: 15.41 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.001223/0.3589, allocations: 0.5949 MB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.359, allocations: 8.031 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.3591, allocations: 86.7 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.3592, allocations: 40.66 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.3596, allocations: 225.9 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.3596, allocations: 29.36 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.3597, allocations: 36.38 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.3607, allocations: 0.5647 MB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3607, allocations: 0 / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.3608, allocations: 15.98 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.351e-05/0.3608, allocations: 44.97 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.362, allocations: 0.5698 MB / 0.5677 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.3641, allocations: 1.14 MB / 0.5688 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.3648, allocations: 362.2 kB / 0.5691 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.3651, allocations: 136.8 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.3651, allocations: 7.984 kB / 0.5692 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3651, allocations: 34.59 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.824e-06/0.3651, allocations: 4 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001029/0.3662, allocations: 465 kB / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3662, allocations: 55.41 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.3667, allocations: 449.5 kB / 0.5702 GB, free: 10.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.3668, allocations: 33.7 kB / 0.5702 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3669, allocations: 192.4 kB / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.367, allocations: 75.31 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.3671, allocations: 57.69 kB / 0.5706 GB, free: 10.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3673, allocations: 346.8 kB / 0.5709 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.3676, allocations: 123.9 kB / 0.571 GB, free: 9.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.3678, allocations: 118.9 kB / 0.5711 GB, free: 9.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.3684, allocations: 268.5 kB / 0.5714 GB, free: 9.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3684, allocations: 4 kB / 0.5714 GB, free: 9.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006688/0.369, allocations: 348.5 kB / 0.5717 GB, free: 8.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3691, allocations: 10.28 kB / 0.5717 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3691, allocations: 0 / 0.5717 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3691, allocations: 0 / 0.5717 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/0.3699, allocations: 155.9 kB / 0.5719 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.3736, allocations: 5.516 MB / 0.5773 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.3739, allocations: 47.64 kB / 0.5773 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.3739, allocations: 15.98 kB / 0.5773 GB, free: 2.902 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.0002634/0.3742, allocations: 195.1 kB / 0.5775 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.3743, allocations: 35.77 kB / 0.5775 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008936/0.3751, allocations: 452.6 kB / 0.578 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.3752, allocations: 4 kB / 0.578 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3752, allocations: 0 / 0.578 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3752, allocations: 3.938 kB / 0.578 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.3756, allocations: 352.3 kB / 0.5783 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3756, allocations: 4 kB / 0.5783 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.3763, allocations: 151.9 kB / 0.5785 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3763, allocations: 8 kB / 0.5785 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.3763, allocations: 8 kB / 0.5785 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003405/0.3797, allocations: 5.513 MB / 0.5839 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.3797, allocations: 7.922 kB / 0.5839 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.3804, allocations: 446.4 kB / 0.5843 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3805, allocations: 39.69 kB / 0.5843 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.3806, allocations: 11.92 kB / 0.5843 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.3808, allocations: 8 kB / 0.5843 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3809, allocations: 31.98 kB / 0.5844 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.3809, allocations: 8 kB / 0.5844 GB, free: 11.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004029/0.3813, allocations: 339.1 kB / 0.5847 GB, free: 11.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3813, allocations: 0 / 0.5847 GB, free: 11.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003919/0.3817, allocations: 99.83 kB / 0.5848 GB, free: 10.95 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.001255/0.3829, allocations: 1.016 MB / 0.5858 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.3841, allocations: 399.5 kB / 0.5862 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3841, allocations: 0 / 0.5862 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.3849, allocations: 267.7 kB / 0.5864 GB, free: 9.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.3854, allocations: 100.4 kB / 0.5865 GB, free: 9.164 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.3911, allocations: 4.368 MB / 0.5908 GB, free: 4.707 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.3915, allocations: 0.8503 MB / 0.5916 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.3917, allocations: 87.22 kB / 0.5917 GB, free: 3.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.3919, allocations: 107.4 kB / 0.5918 GB, free: 3.637 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3919, allocations: 0 / 0.5918 GB, free: 3.637 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.4343, allocations: 11.78 MB / 0.6033 GB, free: 8.012 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.47, allocations: 11.81 kB / 0.6033 GB, free: 8 MB / 446.1 MB " [Timeout remaining time 646] (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.682040830142796]