Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001833/0.001833, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002359/0.002359, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2749/0.2749, allocations: 46.95 MB / 360.9 MB, free: 4.125 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_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_4_1_0_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 0.001989/0.001989, allocations: 67.91 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3405, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003215/0.3437, allocations: 1.777 MB / 0.5624 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3451, allocations: 0.7723 MB / 0.5631 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.3452, allocations: 0 / 0.5631 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.3454, allocations: 35.78 kB / 0.5631 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.3457, allocations: 75.64 kB / 0.5632 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.3459, allocations: 71.66 kB / 0.5633 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3461, allocations: 143.5 kB / 0.5634 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.3461, allocations: 9.812 kB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.3463, allocations: 71.69 kB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3465, allocations: 91.64 kB / 0.5636 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3465, allocations: 4 kB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.3466, allocations: 43.97 kB / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.3467, allocations: 35.84 kB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.3467, allocations: 31.8 kB / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.347, allocations: 143.4 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.347, allocations: 0 / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.347, allocations: 0 / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.347, allocations: 4 kB / 0.5638 GB, free: 0.9141 MB / 398.1 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.0005826/0.3476, allocations: 329.9 kB / 0.5642 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3476, allocations: 12.02 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.3477, allocations: 46.75 kB / 0.5642 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.348, allocations: 40.75 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.3482, allocations: 134.4 kB / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3482, allocations: 12.36 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.3482, allocations: 7.938 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.3486, allocations: 184.1 kB / 0.5646 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3486, allocations: 0 / 0.5646 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3486, allocations: 0 / 0.5646 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.3486, allocations: 11.98 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.349, allocations: 135.8 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.3498, allocations: 0.5544 MB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.3502, allocations: 102.7 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3503, allocations: 36.83 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3503, allocations: 0 / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3503, allocations: 42.5 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.3503, allocations: 0 / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004293/0.3508, allocations: 137.5 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.3508, allocations: 55.41 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3509, allocations: 130 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3509, allocations: 25.7 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.707e-05/0.351, allocations: 128 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.3511, allocations: 19.84 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.3511, allocations: 29.67 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3513, allocations: 326.8 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3514, allocations: 43.91 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.3516, allocations: 98.59 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.3519, allocations: 147.5 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3519, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003323/0.3522, allocations: 153.7 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3522, allocations: 8 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3522, allocations: 4 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3522, allocations: 4.25 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.3524, allocations: 39.97 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3524, allocations: 12 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.634e-05/0.3525, allocations: 15.89 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3525, allocations: 8 kB / 0.5668 GB, free: 13.66 MB / 414.1 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 0.0001068/0.3526, allocations: 125.8 kB / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3527, allocations: 7.953 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.353, allocations: 125.9 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.353, allocations: 4 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.353, allocations: 0 / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.353, allocations: 0 / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3532, allocations: 180.5 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3532, allocations: 0 / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3534, allocations: 27.98 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3534, allocations: 4 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3534, allocations: 4 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3534, allocations: 3.984 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3534, allocations: 0 / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3537, allocations: 211.3 kB / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.3537, allocations: 3.953 kB / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.3537, allocations: 8 kB / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.679e-05/0.3538, allocations: 11.92 kB / 0.5674 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3539, allocations: 3.984 kB / 0.5674 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3539, allocations: 4 kB / 0.5674 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.361e-05/0.354, allocations: 98.89 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.354, allocations: 0 / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.3542, allocations: 27.94 kB / 0.5676 GB, free: 12.75 MB / 414.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 (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.0006894/0.3549, allocations: 0.7474 MB / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.3552, allocations: 95.86 kB / 0.5684 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3552, allocations: 0 / 0.5684 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3553, allocations: 39.91 kB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.3556, allocations: 8 kB / 0.5684 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3576, allocations: 1.677 MB / 0.5701 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.3577, allocations: 97.3 kB / 0.5702 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.716e-05/0.3578, allocations: 28.45 kB / 0.5702 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.3579, allocations: 31.42 kB / 0.5702 GB, free: 9.855 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3579, allocations: 0 / 0.5702 GB, free: 9.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.3862, allocations: 2.791 MB / 0.573 GB, free: 7.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.42, allocations: 0 / 0.573 GB, free: 7.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 14.55975091084838]