Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001105/0.001105, allocations: 117.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2003/0.2003, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 79.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3744, allocations: 62.42 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003141/0.3776, allocations: 1.842 MB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003805/0.3814, allocations: 2.947 MB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.3815, allocations: 5.375 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.3818, allocations: 44.11 kB / 0.5353 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.3821, allocations: 88.02 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.3835, allocations: 0.7281 MB / 0.5361 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.3838, allocations: 243.1 kB / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.3839, allocations: 29.53 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.3841, allocations: 103.2 kB / 0.5364 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.3843, allocations: 119.4 kB / 0.5365 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.3843, allocations: 8.531 kB / 0.5365 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.3858, allocations: 1.231 MB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.3859, allocations: 75.56 kB / 0.5378 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.386, allocations: 110 kB / 0.5379 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.3872, allocations: 0.9266 MB / 0.5388 GB, free: 7.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3872, allocations: 0 / 0.5388 GB, free: 7.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3872, allocations: 7.875 kB / 0.5388 GB, free: 7.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3873, allocations: 0 / 0.5388 GB, free: 7.391 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.0009178/0.3882, allocations: 0.6852 MB / 0.5395 GB, free: 6.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3882, allocations: 9.938 kB / 0.5395 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.83e-05/0.3883, allocations: 69.19 kB / 0.5396 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.3884, allocations: 33.75 kB / 0.5396 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3886, allocations: 238.4 kB / 0.5398 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3887, allocations: 22.89 kB / 0.5398 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.3887, allocations: 25.19 kB / 0.5399 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.3894, allocations: 470.4 kB / 0.5403 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3894, allocations: 0 / 0.5403 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.3895, allocations: 14.39 kB / 0.5403 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.682e-05/0.3895, allocations: 50.67 kB / 0.5404 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007973/0.3903, allocations: 0.549 MB / 0.5409 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.3921, allocations: 1.301 MB / 0.5422 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.3926, allocations: 274.3 kB / 0.5425 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.3929, allocations: 101 kB / 0.5425 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.3929, allocations: 8.531 kB / 0.5426 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3929, allocations: 40.81 kB / 0.5426 GB, free: 4.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.392e-06/0.3929, allocations: 0 / 0.5426 GB, free: 4.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007258/0.3937, allocations: 333.3 kB / 0.5429 GB, free: 4.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.3937, allocations: 54.62 kB / 0.543 GB, free: 4.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3938, allocations: 142.2 kB / 0.5431 GB, free: 4.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3939, allocations: 31.2 kB / 0.5431 GB, free: 4.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.394, allocations: 186.8 kB / 0.5433 GB, free: 4.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.3941, allocations: 91.56 kB / 0.5434 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.3942, allocations: 70.28 kB / 0.5435 GB, free: 3.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3943, allocations: 327.5 kB / 0.5438 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.3945, allocations: 91.39 kB / 0.5439 GB, free: 3.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.3947, allocations: 177.6 kB / 0.544 GB, free: 3.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/0.3952, allocations: 287.6 kB / 0.5443 GB, free: 3.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3952, allocations: 1.219 kB / 0.5443 GB, free: 3.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005713/0.3958, allocations: 330.5 kB / 0.5446 GB, free: 2.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3958, allocations: 8 kB / 0.5446 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3958, allocations: 4 kB / 0.5446 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3959, allocations: 4 kB / 0.5446 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.3963, allocations: 115.9 kB / 0.5447 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.3975, allocations: 2.372 MB / 0.5471 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.3977, allocations: 35.61 kB / 0.5471 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.3977, allocations: 12 kB / 0.5471 GB, free: 336 kB / 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.0001719/0.3979, allocations: 177.7 kB / 0.5473 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.3979, allocations: 15.84 kB / 0.5473 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.3987, allocations: 358.3 kB / 0.5476 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.3987, allocations: 4 kB / 0.5476 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3987, allocations: 11.92 kB / 0.5477 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3987, allocations: 3.938 kB / 0.5477 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.3991, allocations: 349.2 kB / 0.548 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3991, allocations: 7.938 kB / 0.548 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.3995, allocations: 99.89 kB / 0.5481 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3995, allocations: 0 / 0.5481 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.3996, allocations: 15.98 kB / 0.5481 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.4007, allocations: 2.364 MB / 0.5504 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4007, allocations: 4.094 kB / 0.5504 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.4012, allocations: 371.2 kB / 0.5508 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.4013, allocations: 92.86 kB / 0.5509 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.4013, allocations: 4 kB / 0.5509 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.4015, allocations: 15.98 kB / 0.5509 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.4016, allocations: 19.98 kB / 0.5509 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.4016, allocations: 11.98 kB / 0.5509 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.4017, allocations: 101.5 kB / 0.551 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.4017, allocations: 4 kB / 0.551 GB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007751/0.4025, allocations: 247.4 kB / 0.5512 GB, free: 11.9 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 (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.001425/0.4039, allocations: 1.153 MB / 0.5524 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007486/0.4046, allocations: 304.3 kB / 0.5527 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4047, allocations: 0 / 0.5527 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.4051, allocations: 175.8 kB / 0.5528 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.4054, allocations: 12 kB / 0.5528 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.4087, allocations: 2.579 MB / 0.5554 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.4091, allocations: 0.8024 MB / 0.5561 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.4094, allocations: 105.7 kB / 0.5562 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.4095, allocations: 91.34 kB / 0.5563 GB, free: 6.504 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4095, allocations: 0 / 0.5563 GB, free: 6.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.439, allocations: 8.979 MB / 0.5651 GB, free: 13.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12, allocations: 8.016 kB / 0.5651 GB, free: 13.73 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches