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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001886/0.001886, 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.002196/0.002196, allocations: 213.6 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.469/1.469, 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.235/0.235, allocations: 46.94 MB / 360.8 MB, free: 4.164 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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 79.88 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3664, allocations: 66.09 MB / 0.5608 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.004114/0.3705, allocations: 2.024 MB / 0.5627 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.3733, allocations: 1.908 MB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.3734, allocations: 0 / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.3737, allocations: 71.64 kB / 0.5647 GB, free: 256 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.374, allocations: 127.4 kB / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.3749, allocations: 358.6 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.3753, allocations: 386.1 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.3754, allocations: 12.94 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.3757, allocations: 155.2 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.3759, allocations: 195 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.376, allocations: 12 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009356/0.3769, allocations: 0.5538 MB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.377, allocations: 91.53 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.3772, allocations: 162.9 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008508/0.378, allocations: 0.6438 MB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.378, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.378, allocations: 3.938 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.378, allocations: 0 / 0.5673 GB, free: 13.57 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.001102/0.3791, allocations: 0.6258 MB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3792, allocations: 8.031 kB / 0.5679 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.613e-05/0.3793, allocations: 86.7 kB / 0.568 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.3794, allocations: 40.66 kB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.3797, allocations: 225.9 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.3798, allocations: 29.38 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.3798, allocations: 32.36 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.3807, allocations: 0.5647 MB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3807, allocations: 4 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.3807, allocations: 16 kB / 0.5689 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/0.3808, allocations: 40.97 kB / 0.5689 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/0.3818, allocations: 0.5698 MB / 0.5695 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.3836, allocations: 1.136 MB / 0.5706 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006961/0.3843, allocations: 378.1 kB / 0.5709 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.3845, allocations: 128.9 kB / 0.5711 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.3846, allocations: 4 kB / 0.5711 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3846, allocations: 38.56 kB / 0.5711 GB, free: 9.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.3846, allocations: 0 / 0.5711 GB, free: 9.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009923/0.3856, allocations: 473 kB / 0.5715 GB, free: 9.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3857, allocations: 51.41 kB / 0.5716 GB, free: 8.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.3862, allocations: 457.6 kB / 0.572 GB, free: 8.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.3862, allocations: 33.64 kB / 0.5721 GB, free: 8.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3863, allocations: 188.4 kB / 0.5722 GB, free: 8.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.3864, allocations: 83.25 kB / 0.5723 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.3865, allocations: 53.69 kB / 0.5724 GB, free: 8.168 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3867, allocations: 354.7 kB / 0.5727 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.3869, allocations: 115.9 kB / 0.5728 GB, free: 7.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.3872, allocations: 118.9 kB / 0.5729 GB, free: 7.586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.3877, allocations: 264.6 kB / 0.5732 GB, free: 7.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3877, allocations: 0 / 0.5732 GB, free: 7.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006416/0.3883, allocations: 352.5 kB / 0.5735 GB, free: 6.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3883, allocations: 7.938 kB / 0.5735 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3884, allocations: 0 / 0.5735 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3884, allocations: 0 / 0.5735 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.3891, allocations: 155.9 kB / 0.5737 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.3927, allocations: 5.524 MB / 0.5791 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.3929, allocations: 43.66 kB / 0.5791 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.3929, allocations: 11.98 kB / 0.5791 GB, free: 1.027 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.0002633/0.3932, allocations: 191 kB / 0.5793 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.3933, allocations: 35.95 kB / 0.5793 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009414/0.3942, allocations: 460.5 kB / 0.5798 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3942, allocations: 4 kB / 0.5798 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3942, allocations: 0 / 0.5798 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3942, allocations: 0 / 0.5798 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.3948, allocations: 352.3 kB / 0.5801 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3948, allocations: 0 / 0.5801 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/0.3955, allocations: 151.9 kB / 0.5803 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.3955, allocations: 4 kB / 0.5803 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.3955, allocations: 15.98 kB / 0.5803 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003706/0.3992, allocations: 5.509 MB / 0.5857 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3992, allocations: 4.219 kB / 0.5857 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.3999, allocations: 454 kB / 0.5861 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.4, allocations: 39.69 kB / 0.5861 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.4, allocations: 8 kB / 0.5862 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.4002, allocations: 15.92 kB / 0.5862 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.4003, allocations: 19.91 kB / 0.5862 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.4003, allocations: 12 kB / 0.5862 GB, free: 9.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003841/0.4007, allocations: 343.1 kB / 0.5865 GB, free: 9.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4007, allocations: 0 / 0.5865 GB, free: 9.176 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.4012, allocations: 151.5 kB / 0.5867 GB, free: 9.027 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.001405/0.4026, allocations: 1.09 MB / 0.5877 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.4038, allocations: 395.5 kB / 0.5881 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4038, allocations: 0 / 0.5881 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007921/0.4046, allocations: 271.1 kB / 0.5884 GB, free: 7.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.4051, allocations: 89.31 kB / 0.5885 GB, free: 7.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.4108, allocations: 4.395 MB / 0.5927 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.4113, allocations: 0.8503 MB / 0.5936 GB, free: 1.812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.4115, allocations: 87.2 kB / 0.5937 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.4117, allocations: 107.4 kB / 0.5938 GB, free: 1.621 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4117, allocations: 0 / 0.5938 GB, free: 1.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04171/0.4534, allocations: 13.21 MB / 0.6067 GB, free: 4.566 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.55, allocations: 23.77 kB / 0.6067 GB, free: 4.543 MB / 446.1 MB " [Timeout remaining time 646] (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 --stepSize=0.000201839 --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) [Timeout 52.5] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.84295822191052]