Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 106 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 197.9 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2967/0.2967, allocations: 43.5 MB / 313.6 MB, free: 8.266 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.89 kB / 382.4 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09289/0.09434, allocations: 57.77 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002922/0.09731, allocations: 2.252 MB / 442.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.1012, allocations: 3.296 MB / 445.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1013, allocations: 0 / 445.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.1017, allocations: 91.48 kB / 445.8 MB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.1021, allocations: 131.3 kB / 445.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1038, allocations: 0.7985 MB / 446.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000467/0.1043, allocations: 0.567 MB / 447.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.1044, allocations: 81.72 kB / 447.3 MB, free: 7.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.1046, allocations: 234.6 kB / 447.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.1049, allocations: 294.5 kB / 447.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.1049, allocations: 16 kB / 447.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.107, allocations: 1.953 MB / 449.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1072, allocations: 147.2 kB / 450 MB, free: 4.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.1074, allocations: 278 kB / 450.2 MB, free: 4.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.1091, allocations: 1.667 MB / 451.9 MB, free: 2.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1091, allocations: 0 / 451.9 MB, free: 2.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1091, allocations: 0 / 451.9 MB, free: 2.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1091, allocations: 0 / 451.9 MB, free: 2.547 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001563/0.1107, allocations: 1.03 MB / 452.9 MB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1107, allocations: 12.03 kB / 452.9 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.1109, allocations: 148.1 kB / 453.1 MB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.111, allocations: 76 kB / 453.2 MB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.1114, allocations: 354.4 kB / 453.5 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.1114, allocations: 58 kB / 453.6 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.1115, allocations: 75.97 kB / 453.6 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1791/0.2907, allocations: 1.218 MB / 454.9 MB, free: 48.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.2908, allocations: 0 / 454.9 MB, free: 48.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.2909, allocations: 34.5 kB / 454.9 MB, free: 48.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.291, allocations: 83.47 kB / 455 MB, free: 48.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003564/0.2946, allocations: 1.718 MB / 456.7 MB, free: 48.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005348/0.3, allocations: 2.926 MB / 459.6 MB, free: 47.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.301, allocations: 433 kB / 460 MB, free: 47.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.3014, allocations: 145.2 kB / 460.2 MB, free: 47.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.157e-05/0.3014, allocations: 13.06 kB / 460.2 MB, free: 47.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.3014, allocations: 36.31 kB / 460.2 MB, free: 47.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 4.218e-06/0.3015, allocations: 0 / 460.2 MB, free: 47.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00125/0.3027, allocations: 488.1 kB / 460.7 MB, free: 47.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.3028, allocations: 62.22 kB / 460.8 MB, free: 47.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3029, allocations: 208.7 kB / 461 MB, free: 47.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.303, allocations: 32.48 kB / 461 MB, free: 47.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.3032, allocations: 391.5 kB / 461.4 MB, free: 47.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.3033, allocations: 117.3 kB / 461.5 MB, free: 47.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.3035, allocations: 124.8 kB / 461.6 MB, free: 46.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.3035, allocations: 331.4 kB / 461.9 MB, free: 46.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.3039, allocations: 148.9 kB / 462.1 MB, free: 46.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.3044, allocations: 348.6 kB / 462.4 MB, free: 46.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/0.3053, allocations: 0.5235 MB / 463 MB, free: 46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3053, allocations: 10.84 kB / 463 MB, free: 45.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001209/0.3065, allocations: 0.5421 MB / 463.5 MB, free: 45.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3066, allocations: 8.281 kB / 463.5 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3066, allocations: 5.688 kB / 463.5 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.3066, allocations: 10.59 kB / 463.5 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000921/0.3076, allocations: 212.9 kB / 463.7 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.3087, allocations: 3.001 MB / 466.7 MB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.3091, allocations: 60.81 kB / 466.8 MB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.3092, allocations: 28.78 kB / 466.8 MB, free: 42.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003935/0.3096, allocations: 278.7 kB / 467.1 MB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.3097, allocations: 20.97 kB / 467.1 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.3113, allocations: 0.5511 MB / 467.7 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3113, allocations: 7.469 kB / 467.7 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3113, allocations: 4 kB / 467.7 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3113, allocations: 3.375 kB / 467.7 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.3134, allocations: 1.162 MB / 468.9 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3134, allocations: 3.656 kB / 468.9 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/0.3142, allocations: 168.5 kB / 469 MB, free: 41.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.3143, allocations: 2.969 kB / 469 MB, free: 41.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.3143, allocations: 20.44 kB / 469 MB, free: 41.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009968/0.3153, allocations: 2.968 MB / 472 MB, free: 38.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.3153, allocations: 9.141 kB / 472 MB, free: 38.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/0.3161, allocations: 0.4937 MB / 472.5 MB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3162, allocations: 102.4 kB / 472.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.3163, allocations: 14.38 kB / 472.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.3166, allocations: 21.81 kB / 472.6 MB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.95e-05/0.3167, allocations: 35.45 kB / 472.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.3167, allocations: 24.33 kB / 472.7 MB, free: 38.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.546e-05/0.3168, allocations: 134.8 kB / 472.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3168, allocations: 0 / 472.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0014/0.3182, allocations: 349.6 kB / 473.2 MB, free: 38.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001738/0.32, allocations: 1.276 MB / 474.5 MB, free: 37.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.3215, allocations: 0.5323 MB / 475 MB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3215, allocations: 3.828 kB / 475 MB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006834/0.3222, allocations: 265.6 kB / 475.3 MB, free: 37.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.3227, allocations: 31.31 kB / 475.3 MB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.3265, allocations: 4.283 MB / 479.6 MB, free: 34.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3269, allocations: 0.9907 MB / 480.6 MB, free: 33.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000442/0.3273, allocations: 166.6 kB / 480.7 MB, free: 33.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.3275, allocations: 213.7 kB / 480.9 MB, free: 33.45 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3276, allocations: 0 / 480.9 MB, free: 33.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.3546, allocations: 12.25 MB / 493.2 MB, free: 32.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.3548, allocations: 294.2 kB / 493.5 MB, free: 31.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/3.22, allocations: 0 / 493.5 MB, free: 31.88 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches