Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.001897/0.001898, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002108/0.002109, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.12 MB / 344.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003599/0.003599, allocations: 79.88 kB / 480.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3952, allocations: 62.45 MB / 0.5307 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003706/0.3989, allocations: 2.206 MB / 0.5328 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.4039, allocations: 3.335 MB / 0.5361 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.4041, allocations: 1.125 kB / 0.5361 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.4046, allocations: 96.3 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.405, allocations: 144.5 kB / 0.5363 GB, free: 8.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.4069, allocations: 0.8875 MB / 0.5372 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006468/0.4076, allocations: 0.568 MB / 0.5377 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.4077, allocations: 79.45 kB / 0.5378 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.4081, allocations: 239.2 kB / 0.538 GB, free: 7.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.4084, allocations: 282 kB / 0.5383 GB, free: 7.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.4085, allocations: 18.72 kB / 0.5383 GB, free: 7.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.4112, allocations: 1.983 MB / 0.5402 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.4113, allocations: 142.2 kB / 0.5404 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002747/0.4116, allocations: 280.6 kB / 0.5407 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.4141, allocations: 1.701 MB / 0.5423 GB, free: 5.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4141, allocations: 0 / 0.5423 GB, free: 5.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4141, allocations: 1.219 kB / 0.5423 GB, free: 5.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.4141, allocations: 0 / 0.5423 GB, free: 5.121 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002103/0.4162, allocations: 1.074 MB / 0.5434 GB, free: 4.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.4163, allocations: 9.812 kB / 0.5434 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.4165, allocations: 146.8 kB / 0.5435 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.4167, allocations: 74.38 kB / 0.5436 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005995/0.4173, allocations: 359.8 kB / 0.5439 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.4174, allocations: 56.22 kB / 0.544 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.4175, allocations: 71.98 kB / 0.544 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.4194, allocations: 1.227 MB / 0.5452 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.4194, allocations: 0 / 0.5452 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/0.4195, allocations: 32 kB / 0.5453 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.4196, allocations: 77.94 kB / 0.5453 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.4223, allocations: 1.726 MB / 0.547 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004531/0.4269, allocations: 2.936 MB / 0.5499 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008819/0.4278, allocations: 424.6 kB / 0.5503 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.4281, allocations: 145.3 kB / 0.5504 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.4281, allocations: 4.281 kB / 0.5505 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.4282, allocations: 38.84 kB / 0.5505 GB, free: 13.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.4282, allocations: 0 / 0.5505 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009935/0.4292, allocations: 487.3 kB / 0.551 GB, free: 12.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.4292, allocations: 63.34 kB / 0.551 GB, free: 12.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.4294, allocations: 206.5 kB / 0.5512 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.4295, allocations: 33.7 kB / 0.5512 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.4297, allocations: 403.5 kB / 0.5516 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.812e-05/0.4299, allocations: 123 kB / 0.5517 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.43, allocations: 130.1 kB / 0.5519 GB, free: 11.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4302, allocations: 334.8 kB / 0.5522 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.4305, allocations: 149 kB / 0.5523 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.4309, allocations: 342.3 kB / 0.5527 GB, free: 10.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00077/0.4317, allocations: 0.5288 MB / 0.5532 GB, free: 10.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4317, allocations: 4 kB / 0.5532 GB, free: 10.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009233/0.4326, allocations: 0.5435 MB / 0.5537 GB, free: 9.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4327, allocations: 8.875 kB / 0.5537 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4327, allocations: 7.938 kB / 0.5537 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.4327, allocations: 16 kB / 0.5537 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.4334, allocations: 207.8 kB / 0.5539 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.4352, allocations: 2.992 MB / 0.5569 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.4355, allocations: 60 kB / 0.5569 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.4356, allocations: 32 kB / 0.5569 GB, free: 6.203 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004085/0.436, allocations: 276.4 kB / 0.5572 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.436, allocations: 23.86 kB / 0.5572 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.4372, allocations: 0.5503 MB / 0.5578 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4372, allocations: 4 kB / 0.5578 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4372, allocations: 0 / 0.5578 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4373, allocations: 7.984 kB / 0.5578 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.4391, allocations: 1.17 MB / 0.5589 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.4391, allocations: 4 kB / 0.5589 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/0.4397, allocations: 179.8 kB / 0.5591 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.4397, allocations: 7.938 kB / 0.5591 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.4398, allocations: 16 kB / 0.5591 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.4417, allocations: 2.969 MB / 0.562 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.4417, allocations: 0 / 0.562 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/0.4425, allocations: 0.4901 MB / 0.5625 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.4426, allocations: 104.8 kB / 0.5626 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.4426, allocations: 11.94 kB / 0.5626 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.4428, allocations: 15.98 kB / 0.5626 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.4429, allocations: 47.89 kB / 0.5627 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.443, allocations: 16 kB / 0.5627 GB, free: 64 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.4431, allocations: 135.5 kB / 0.5628 GB, free: 15.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4432, allocations: 0 / 0.5628 GB, free: 15.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001239/0.4444, allocations: 362.3 kB / 0.5632 GB, free: 15.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001775/0.4462, allocations: 1.3 MB / 0.5644 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.4473, allocations: 484 kB / 0.5649 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4473, allocations: 0 / 0.5649 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.4479, allocations: 266.2 kB / 0.5651 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.4483, allocations: 27.94 kB / 0.5652 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005464/0.4538, allocations: 3.978 MB / 0.5691 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/0.4546, allocations: 0.9868 MB / 0.57 GB, free: 8.168 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004898/0.4551, allocations: 170.5 kB / 0.5702 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.4554, allocations: 211.3 kB / 0.5704 GB, free: 7.793 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4554, allocations: 4 kB / 0.5704 GB, free: 7.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.4949, allocations: 12.72 MB / 0.5828 GB, free: 11.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.39, allocations: 6.688 kB / 0.5828 GB, free: 11.3 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches