Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001052/0.001052, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008729/0.0008729, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8883/0.8883, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 32.79 MB / 293.5 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_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_0_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 1.954e-06/1.954e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.957e-05, allocations: 2.281 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002166/0.002185, allocations: 1.791 MB / 441.4 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009131/0.003098, allocations: 0.7594 MB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.003161, allocations: 7.938 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.00337, allocations: 39.77 kB / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.003608, allocations: 79.45 kB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.00379, allocations: 75.66 kB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.003936, allocations: 135.4 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.003975, allocations: 4 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.004157, allocations: 91.72 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.004269, allocations: 83.81 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.004283, allocations: 4 kB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.004381, allocations: 55.8 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.004441, allocations: 31.89 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.004475, allocations: 23.92 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.004672, allocations: 151.4 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.004677, allocations: 4 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.004678, allocations: 0 / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004683, allocations: 0 / 442.9 MB, free: 0.875 MB / 410.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.0004072/0.00509, allocations: 325.9 kB / 443.3 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.005127, allocations: 12.03 kB / 443.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.005159, allocations: 42.73 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.005384, allocations: 40.81 kB / 443.4 MB, free: 436 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.00552, allocations: 129.6 kB / 443.5 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.005533, allocations: 8.375 kB / 443.5 MB, free: 272 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.005548, allocations: 8.375 kB / 443.5 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.0058, allocations: 181 kB / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.005809, allocations: 3.938 kB / 443.7 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.005822, allocations: 3.984 kB / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.005847, allocations: 19.84 kB / 443.7 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1712/0.1771, allocations: 130.2 kB / 443.8 MB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.1776, allocations: 0.5434 MB / 444.4 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1779, allocations: 105.9 kB / 444.5 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.1779, allocations: 37.14 kB / 444.5 MB, free: 43.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1779, allocations: 6.719 kB / 444.5 MB, free: 43.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.122e-05/0.1779, allocations: 34.97 kB / 444.5 MB, free: 43.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.464e-06/0.1779, allocations: 0 / 444.5 MB, free: 43.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002587/0.1782, allocations: 139.5 kB / 444.7 MB, free: 43.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.1782, allocations: 51.41 kB / 444.7 MB, free: 43.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.1783, allocations: 133.7 kB / 444.9 MB, free: 43.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.1783, allocations: 28.66 kB / 444.9 MB, free: 43.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.1783, allocations: 125.2 kB / 445 MB, free: 43.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.1783, allocations: 27.77 kB / 445 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.1784, allocations: 31.92 kB / 445.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.816e-05/0.1784, allocations: 320 kB / 445.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.732e-05/0.1784, allocations: 34.2 kB / 445.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.1785, allocations: 95.09 kB / 445.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.1786, allocations: 145.5 kB / 445.7 MB, free: 43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1786, allocations: 0 / 445.7 MB, free: 43 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001658/0.1788, allocations: 170.1 kB / 445.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1788, allocations: 9.656 kB / 445.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1788, allocations: 2.906 kB / 445.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1788, allocations: 3 kB / 445.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1789, allocations: 44.58 kB / 445.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1789, allocations: 3.094 kB / 445.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.179, allocations: 20.39 kB / 445.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.179, allocations: 9.375 kB / 445.9 MB, free: 42.95 MB / 410.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 5.471e-05/0.1791, allocations: 130.3 kB / 446 MB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.1791, allocations: 13.7 kB / 446.1 MB, free: 42.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.1793, allocations: 124.8 kB / 446.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1793, allocations: 0 / 446.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1793, allocations: 0 / 446.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1793, allocations: 0 / 446.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.1794, allocations: 169.1 kB / 446.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1794, allocations: 0 / 446.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.1794, allocations: 31.23 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1794, allocations: 3.562 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1795, allocations: 0.6562 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1795, allocations: 1.656 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1795, allocations: 0 / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.1796, allocations: 211.6 kB / 446.6 MB, free: 42.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.1796, allocations: 11.2 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1796, allocations: 4 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.1797, allocations: 14.66 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.1797, allocations: 3.281 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.1797, allocations: 6.219 kB / 446.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.481e-05/0.1797, allocations: 101.2 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1797, allocations: 0 / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.1799, allocations: 22.94 kB / 446.7 MB, free: 42.43 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 (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.0002765/0.1802, allocations: 0.7484 MB / 447.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.1803, allocations: 93.95 kB / 447.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1803, allocations: 3.281 kB / 447.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.1804, allocations: 41.53 kB / 447.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.1806, allocations: 12.03 kB / 447.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009641/0.1816, allocations: 1.662 MB / 449.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.35e-05/0.1816, allocations: 100.6 kB / 449.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.498e-05/0.1817, allocations: 26.25 kB / 449.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.1817, allocations: 26.88 kB / 449.5 MB, free: 40.37 MB / 410.7 MB Notification: Performance of SimCode: time 4.608e-06/0.1817, allocations: 0 / 449.5 MB, free: 40.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.1986, allocations: 2.951 MB / 452.4 MB, free: 39.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/7.038, allocations: 14.02 kB / 452.4 MB, free: 39.46 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.008633508346975]