Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_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.001708/0.001708, 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.002097/0.002097, 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.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2303/0.2303, allocations: 46.94 MB / 360.8 MB, free: 3.918 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.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 79.88 kB / 0.4962 GB, free: 7.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3108, allocations: 66.08 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.004173/0.3149, allocations: 2.686 MB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.3186, allocations: 2.313 MB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3187, allocations: 11.94 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.3191, allocations: 109.1 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.3195, allocations: 242.5 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.3209, allocations: 0.5481 MB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009897/0.3218, allocations: 0.948 MB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.3219, allocations: 38.45 kB / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.3224, allocations: 350 kB / 0.5678 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.3229, allocations: 405.6 kB / 0.5682 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.3229, allocations: 28 kB / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008805/0.3238, allocations: 451.2 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.3241, allocations: 274.6 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.3244, allocations: 365.4 kB / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.3258, allocations: 1.263 MB / 0.5705 GB, free: 9.965 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3258, allocations: 0 / 0.5705 GB, free: 9.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3258, allocations: 0 / 0.5705 GB, free: 9.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3259, allocations: 0 / 0.5705 GB, free: 9.965 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002256/0.3281, allocations: 1.423 MB / 0.5719 GB, free: 8.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3282, allocations: 12.03 kB / 0.5719 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.3283, allocations: 165 kB / 0.5721 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007434/0.3291, allocations: 204 kB / 0.5723 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009019/0.33, allocations: 477.5 kB / 0.5727 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.33, allocations: 69.94 kB / 0.5728 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.3302, allocations: 92 kB / 0.5729 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.3323, allocations: 1.419 MB / 0.5743 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.3324, allocations: 7.938 kB / 0.5743 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.081e-05/0.3324, allocations: 36 kB / 0.5743 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.981e-05/0.3325, allocations: 74.08 kB / 0.5744 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.3348, allocations: 1.37 MB / 0.5757 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004636/0.3394, allocations: 2.907 MB / 0.5785 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.3408, allocations: 0.7034 MB / 0.5792 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.3414, allocations: 277.4 kB / 0.5795 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.3415, allocations: 20.16 kB / 0.5795 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3415, allocations: 42.73 kB / 0.5796 GB, free: 416 kB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.3415, allocations: 0 / 0.5796 GB, free: 416 kB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002433/0.344, allocations: 0.9397 MB / 0.5805 GB, free: 15.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.3441, allocations: 191.8 kB / 0.5807 GB, free: 15.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.346, allocations: 1.373 MB / 0.582 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.346, allocations: 29.7 kB / 0.582 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/0.3465, allocations: 0.5519 MB / 0.5826 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3467, allocations: 123 kB / 0.5827 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.3469, allocations: 158.2 kB / 0.5828 GB, free: 12.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3471, allocations: 338.1 kB / 0.5832 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/0.3478, allocations: 297 kB / 0.5834 GB, free: 12.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/0.3488, allocations: 0.6169 MB / 0.584 GB, free: 11.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.3505, allocations: 0.976 MB / 0.585 GB, free: 10.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3505, allocations: 0 / 0.585 GB, free: 10.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002286/0.3528, allocations: 1.043 MB / 0.586 GB, free: 9.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.3529, allocations: 8 kB / 0.586 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.3529, allocations: 12 kB / 0.586 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/0.3529, allocations: 16.59 kB / 0.586 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/0.3535, allocations: 167.6 kB / 0.5862 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/0.3536, allocations: 19.94 kB / 0.5862 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009188/0.3545, allocations: 170.7 kB / 0.5864 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/0.3546, allocations: 47.98 kB / 0.5864 GB, free: 8.949 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006923/0.3553, allocations: 371.3 kB / 0.5868 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.3555, allocations: 131.1 kB / 0.5869 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.3571, allocations: 0.7548 MB / 0.5877 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.3571, allocations: 12 kB / 0.5877 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3571, allocations: 3.938 kB / 0.5877 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.3571, allocations: 7.984 kB / 0.5877 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.3584, allocations: 0.6314 MB / 0.5883 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3584, allocations: 3.938 kB / 0.5883 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.3588, allocations: 99.86 kB / 0.5884 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.3588, allocations: 4 kB / 0.5884 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.3589, allocations: 16 kB / 0.5884 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3589, allocations: 0 / 0.5884 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.3589, allocations: 8 kB / 0.5884 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.3607, allocations: 1.165 MB / 0.5896 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.361, allocations: 131 kB / 0.5897 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.3611, allocations: 8 kB / 0.5897 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.3617, allocations: 35.95 kB / 0.5897 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3619, allocations: 39.94 kB / 0.5898 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.3619, allocations: 20 kB / 0.5898 GB, free: 5.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001358/0.3633, allocations: 0.9352 MB / 0.5907 GB, free: 4.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3633, allocations: 3.938 kB / 0.5907 GB, free: 4.488 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001188/0.3645, allocations: 299.5 kB / 0.591 GB, free: 4.195 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00256/0.367, allocations: 1.864 MB / 0.5928 GB, free: 2.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.3687, allocations: 0.6922 MB / 0.5935 GB, free: 1.609 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3687, allocations: 0 / 0.5935 GB, free: 1.609 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007296/0.3695, allocations: 304.8 kB / 0.5938 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.371, allocations: 264.8 kB / 0.594 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.3875, allocations: 11.2 MB / 0.605 GB, free: 5.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.3882, allocations: 0.561 MB / 0.6055 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009482/0.3891, allocations: 394.7 kB / 0.6059 GB, free: 4.359 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/0.3897, allocations: 391.3 kB / 0.6063 GB, free: 3.977 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3897, allocations: 0 / 0.6063 GB, free: 3.977 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06658/0.4562, allocations: 30.22 MB / 0.6358 GB, free: 6.207 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.53, allocations: 3.938 kB / 0.6358 GB, free: 6.203 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_twoPhaseOverall_KC/kc_twoPhaseOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_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.090671906247735]