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_laminar_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.0008279/0.0008279, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008112/0.0008112, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.843/0.843, allocations: 158.6 MB / 185 MB, free: 3.031 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.1273/0.1273, allocations: 32.36 MB / 269.6 MB, free: 14.97 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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 406.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.515e-05, allocations: 2.281 kB / 406.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002011/0.002026, allocations: 1.773 MB / 408.7 MB, free: 424 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.002968, allocations: 0.7799 MB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.003023, allocations: 0 / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.003213, allocations: 35.72 kB / 409.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.003434, allocations: 83.5 kB / 409.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.003601, allocations: 71.61 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.00374, allocations: 139.4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.003782, allocations: 7.984 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.003913, allocations: 83.8 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.004029, allocations: 87.73 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.004045, allocations: 4 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.004151, allocations: 47.92 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.004208, allocations: 27.91 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.004245, allocations: 23.92 kB / 410 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.004455, allocations: 151.4 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004458, allocations: 0 / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.004459, allocations: 4 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004463, allocations: 0 / 410.2 MB, free: 14.88 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000699/0.005162, allocations: 337.8 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.005204, allocations: 8.031 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.005239, allocations: 42.75 kB / 410.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.005474, allocations: 36.81 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005617, allocations: 133.6 kB / 410.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.00563, allocations: 8.375 kB / 410.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.005647, allocations: 12.36 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.005911, allocations: 192.9 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005919, allocations: 0 / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.005932, allocations: 4 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.005954, allocations: 11.98 kB / 411 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.006135, allocations: 135.8 kB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.006834, allocations: 0.5427 MB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.007107, allocations: 110.6 kB / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.00717, allocations: 40.77 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.007186, allocations: 4 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.007205, allocations: 30.56 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.007206, allocations: 3.938 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002763/0.007482, allocations: 141.7 kB / 412 MB, free: 12.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.007512, allocations: 51.41 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.007592, allocations: 134.3 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.007602, allocations: 25.7 kB / 412.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.007658, allocations: 124 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.007674, allocations: 27.78 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.007711, allocations: 29.67 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.007788, allocations: 322.8 kB / 412.7 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/0.00785, allocations: 31.97 kB / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.087e-05/0.007931, allocations: 99.69 kB / 412.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.008079, allocations: 139.9 kB / 412.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.008082, allocations: 8 kB / 412.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001831/0.008265, allocations: 169.3 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.008285, allocations: 4 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.008294, allocations: 8 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.008307, allocations: 0 / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.008439, allocations: 52.16 kB / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.008447, allocations: 4 kB / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.008523, allocations: 15.89 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.008533, allocations: 4 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * 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 8.925e-05/0.008623, allocations: 129.8 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.008641, allocations: 7.938 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.008852, allocations: 130 kB / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008854, allocations: 0 / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008858, allocations: 0 / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.008861, allocations: 0 / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.008996, allocations: 168.6 kB / 413.6 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.008998, allocations: 3.938 kB / 413.6 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.009068, allocations: 27.98 kB / 413.6 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.009071, allocations: 0 / 413.6 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.009079, allocations: 7.938 kB / 413.6 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.009081, allocations: 7.922 kB / 413.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009083, allocations: 4 kB / 413.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.00926, allocations: 203.5 kB / 413.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.00927, allocations: 7.891 kB / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.009282, allocations: 7.938 kB / 413.9 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.493e-05/0.009327, allocations: 7.984 kB / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.009357, allocations: 3.984 kB / 413.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.009363, allocations: 8 kB / 413.9 MB, free: 10.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.605e-05/0.009399, allocations: 95.39 kB / 414 MB, free: 10.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009399, allocations: 4 kB / 414 MB, free: 10.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.009566, allocations: 20 kB / 414 MB, free: 10.71 MB / 394.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 (8): * Single equations (assignments): 8 * 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.0003598/0.009926, allocations: 0.7513 MB / 414.8 MB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.01009, allocations: 100.1 kB / 414.9 MB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01009, allocations: 0 / 414.9 MB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.397e-05/0.01015, allocations: 39.97 kB / 414.9 MB, free: 9.797 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.01033, allocations: 7.938 kB / 414.9 MB, free: 9.789 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.0115, allocations: 1.665 MB / 416.6 MB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.051e-05/0.01156, allocations: 101.4 kB / 416.7 MB, free: 7.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.991e-05/0.01162, allocations: 25.09 kB / 416.7 MB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.01168, allocations: 36.48 kB / 416.7 MB, free: 7.816 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01168, allocations: 0 / 416.7 MB, free: 7.816 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.02778, allocations: 2.952 MB / 419.7 MB, free: 4.859 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/6.497, allocations: 3.938 kB / 419.7 MB, free: 4.855 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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: 8.42410686891526]