Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8139/0.8139, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1228/0.1228, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 406.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.944e-05, allocations: 6.078 kB / 406.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002154/0.002174, allocations: 1.8 MB / 408.7 MB, free: 380 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.00469, allocations: 2.595 MB / 411.3 MB, free: 13.77 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.00476, allocations: 0 / 411.3 MB, free: 13.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.004979, allocations: 55.62 kB / 411.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.005225, allocations: 83.5 kB / 411.4 MB, free: 13.63 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.006349, allocations: 0.7313 MB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.006634, allocations: 250.6 kB / 412.4 MB, free: 12.65 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.006684, allocations: 16.58 kB / 412.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.006842, allocations: 139.4 kB / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.006956, allocations: 103.6 kB / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.006975, allocations: 8 kB / 412.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006655/0.007641, allocations: 0.5923 MB / 413.2 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.007718, allocations: 71.69 kB / 413.3 MB, free: 11.72 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.007782, allocations: 75.72 kB / 413.4 MB, free: 11.65 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.008518, allocations: 0.7787 MB / 414.2 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00852, allocations: 0 / 414.2 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008521, allocations: 0 / 414.2 MB, free: 10.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.008526, allocations: 3.938 kB / 414.2 MB, free: 10.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007707/0.009297, allocations: 0.5979 MB / 414.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.009332, allocations: 12.03 kB / 414.8 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.009385, allocations: 86.62 kB / 414.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.009432, allocations: 32.73 kB / 414.9 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.009609, allocations: 189.3 kB / 415.1 MB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.009623, allocations: 20.59 kB / 415.1 MB, free: 9.867 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.009649, allocations: 27.98 kB / 415.1 MB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.0101, allocations: 463.9 kB / 415.6 MB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.0101, allocations: 4 kB / 415.6 MB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.01012, allocations: 8 kB / 415.6 MB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.01016, allocations: 52.95 kB / 415.6 MB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.01066, allocations: 0.5426 MB / 416.2 MB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01172, allocations: 1.029 MB / 417.2 MB, free: 7.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.01206, allocations: 274.9 kB / 417.5 MB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01216, allocations: 96.67 kB / 417.6 MB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.01219, allocations: 7.984 kB / 417.6 MB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.01221, allocations: 38.56 kB / 417.6 MB, free: 7.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.112e-06/0.01221, allocations: 0 / 417.6 MB, free: 7.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006577/0.01287, allocations: 329.3 kB / 417.9 MB, free: 6.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.01289, allocations: 55.41 kB / 418 MB, free: 6.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.01297, allocations: 150.1 kB / 418.1 MB, free: 6.703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.01299, allocations: 29.7 kB / 418.2 MB, free: 6.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.01306, allocations: 204.5 kB / 418.4 MB, free: 6.465 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.0131, allocations: 87.23 kB / 418.5 MB, free: 6.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.01316, allocations: 69.69 kB / 418.5 MB, free: 6.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.01323, allocations: 326.8 kB / 418.8 MB, free: 5.977 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.01334, allocations: 87.78 kB / 418.9 MB, free: 5.891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.01348, allocations: 182.1 kB / 419.1 MB, free: 5.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.01375, allocations: 293.9 kB / 419.4 MB, free: 5.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01375, allocations: 0 / 419.4 MB, free: 5.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003286/0.01408, allocations: 322.2 kB / 419.7 MB, free: 5.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.01409, allocations: 12.06 kB / 419.7 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.0141, allocations: 11.94 kB / 419.7 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.01411, allocations: 4 kB / 419.7 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.01439, allocations: 131.9 kB / 419.9 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006898/0.01508, allocations: 2.364 MB / 422.2 MB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-05/0.01517, allocations: 39.73 kB / 422.3 MB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.01518, allocations: 15.98 kB / 422.3 MB, free: 2.363 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.0153, allocations: 173.7 kB / 422.5 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.01532, allocations: 11.95 kB / 422.5 MB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.01577, allocations: 374.5 kB / 422.8 MB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.01577, allocations: 4 kB / 422.8 MB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.01578, allocations: 3.938 kB / 422.8 MB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01578, allocations: 4 kB / 422.8 MB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.01601, allocations: 308.4 kB / 423.1 MB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01601, allocations: 4 kB / 423.2 MB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.01623, allocations: 111.9 kB / 423.3 MB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01623, allocations: 4 kB / 423.3 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.01625, allocations: 12 kB / 423.3 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008971/0.01714, allocations: 2.364 MB / 425.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01715, allocations: 0 / 425.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.01746, allocations: 372 kB / 426 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.01747, allocations: 15.84 kB / 426 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.01749, allocations: 11.94 kB / 426 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.675e-05/0.01756, allocations: 11.98 kB / 426 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.0176, allocations: 28.2 kB / 426.1 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.01762, allocations: 16 kB / 426.1 MB, free: 14.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.01766, allocations: 98.92 kB / 426.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01766, allocations: 0 / 426.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004178/0.01808, allocations: 242.8 kB / 426.4 MB, free: 14.06 MB / 410.7 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008225/0.0189, allocations: 1.16 MB / 427.6 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.01932, allocations: 287.6 kB / 427.9 MB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01932, allocations: 0 / 427.9 MB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.01952, allocations: 184.9 kB / 428 MB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.01978, allocations: 12 kB / 428.1 MB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.02175, allocations: 2.566 MB / 430.6 MB, free: 9.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.02186, allocations: 193.8 kB / 430.8 MB, free: 9.477 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.02202, allocations: 97.72 kB / 430.9 MB, free: 9.383 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.02211, allocations: 96.45 kB / 431 MB, free: 9.289 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02211, allocations: 4 kB / 431 MB, free: 9.285 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.04119, allocations: 9.449 MB / 440.4 MB, free: 15.81 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/7.559, allocations: 8 kB / 440.5 MB, free: 15.8 MB / 426.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.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: 9.667471914552152]