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_overall_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001757/0.001757, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001744/0.001744, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2003/0.2003, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3542, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002951/0.3572, allocations: 1.827 MB / 0.5202 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003481/0.3607, allocations: 2.851 MB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.537e-05/0.3608, allocations: 1.344 kB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.3611, allocations: 49.53 kB / 0.5231 GB, free: 44 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.3614, allocations: 83.92 kB / 0.5231 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.363, allocations: 0.7131 MB / 0.5238 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.3633, allocations: 241.1 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.963e-05/0.3634, allocations: 33.44 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.3635, allocations: 104.8 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.3638, allocations: 123.9 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3638, allocations: 6.344 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.3657, allocations: 1.206 MB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3658, allocations: 71.11 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.3659, allocations: 115.6 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.3671, allocations: 0.9162 MB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3672, allocations: 0 / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3672, allocations: 1.375 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3672, allocations: 0 / 0.5266 GB, free: 14.4 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001157/0.3683, allocations: 0.6678 MB / 0.5272 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.3684, allocations: 9.625 kB / 0.5272 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.3685, allocations: 77.36 kB / 0.5273 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.3686, allocations: 28.75 kB / 0.5273 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.369, allocations: 243.2 kB / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.369, allocations: 22.95 kB / 0.5276 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.3691, allocations: 21.09 kB / 0.5276 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/0.37, allocations: 470.8 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.37, allocations: 3.938 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.3701, allocations: 14.5 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.043e-05/0.3702, allocations: 48 kB / 0.5281 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009689/0.3711, allocations: 0.5434 MB / 0.5287 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.3732, allocations: 1.309 MB / 0.5299 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.3737, allocations: 274.4 kB / 0.5302 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.3739, allocations: 100.8 kB / 0.5303 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.3739, allocations: 16.75 kB / 0.5303 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.374, allocations: 31.97 kB / 0.5303 GB, free: 11.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.412e-06/0.374, allocations: 0 / 0.5303 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007605/0.3747, allocations: 333.9 kB / 0.5307 GB, free: 11.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3748, allocations: 62.34 kB / 0.5307 GB, free: 11.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3749, allocations: 140.9 kB / 0.5309 GB, free: 11.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.375, allocations: 30.7 kB / 0.5309 GB, free: 11.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3751, allocations: 195.6 kB / 0.5311 GB, free: 11.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/0.3752, allocations: 86.62 kB / 0.5312 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.3753, allocations: 63.42 kB / 0.5312 GB, free: 10.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3754, allocations: 322.5 kB / 0.5315 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.3756, allocations: 91.42 kB / 0.5316 GB, free: 10.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3759, allocations: 176.9 kB / 0.5318 GB, free: 10.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.3764, allocations: 288.2 kB / 0.532 GB, free: 10.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3764, allocations: 1.156 kB / 0.5321 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006107/0.377, allocations: 334.7 kB / 0.5324 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.377, allocations: 6.438 kB / 0.5324 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3771, allocations: 10.64 kB / 0.5324 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3771, allocations: 4.5 kB / 0.5324 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.3775, allocations: 118 kB / 0.5325 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.3788, allocations: 2.365 MB / 0.5348 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.379, allocations: 42.08 kB / 0.5349 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.3791, allocations: 16.72 kB / 0.5349 GB, free: 7.609 MB / 398.1 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.0001999/0.3793, allocations: 171.8 kB / 0.535 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.3793, allocations: 11.78 kB / 0.535 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/0.3801, allocations: 368.4 kB / 0.5354 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3801, allocations: 3.188 kB / 0.5354 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3801, allocations: 4 kB / 0.5354 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3801, allocations: 9.141 kB / 0.5354 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.3806, allocations: 335.2 kB / 0.5357 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3806, allocations: 0 / 0.5357 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.381, allocations: 108.2 kB / 0.5358 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.381, allocations: 2.156 kB / 0.5358 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.381, allocations: 7.469 kB / 0.5358 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.3823, allocations: 2.361 MB / 0.5381 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3823, allocations: 4.094 kB / 0.5382 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.3828, allocations: 376.7 kB / 0.5385 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.3829, allocations: 93.42 kB / 0.5386 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3829, allocations: 2.156 kB / 0.5386 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3831, allocations: 12.48 kB / 0.5386 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.3832, allocations: 26.09 kB / 0.5386 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.3832, allocations: 12.62 kB / 0.5387 GB, free: 4.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.3833, allocations: 98.75 kB / 0.5387 GB, free: 4.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3833, allocations: 0 / 0.5387 GB, free: 4.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008918/0.3842, allocations: 246.8 kB / 0.539 GB, free: 3.957 MB / 398.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 (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.001442/0.3856, allocations: 1.142 MB / 0.5401 GB, free: 3.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007969/0.3864, allocations: 300.3 kB / 0.5404 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3865, allocations: 1.062 kB / 0.5404 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.3869, allocations: 174.4 kB / 0.5405 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.3872, allocations: 21.56 kB / 0.5406 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.3905, allocations: 2.576 MB / 0.5431 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3909, allocations: 0.7987 MB / 0.5439 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.3911, allocations: 98.36 kB / 0.544 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.3913, allocations: 91.09 kB / 0.544 GB, free: 15.97 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3913, allocations: 0 / 0.544 GB, free: 15.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.4211, allocations: 8.861 MB / 0.5527 GB, free: 8.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.8, allocations: 15.7 kB / 0.5527 GB, free: 8.371 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches