Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001131/0.001131, 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.001001/0.001001, allocations: 187 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.215/0.215, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.00311/0.3295, allocations: 2.195 MB / 0.5206 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.3336, allocations: 3.252 MB / 0.5238 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.3338, allocations: 0.9375 kB / 0.5238 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.3341, allocations: 96.25 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.3346, allocations: 142.2 kB / 0.524 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.3367, allocations: 0.8808 MB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006011/0.3373, allocations: 0.5642 MB / 0.5254 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3374, allocations: 79.75 kB / 0.5255 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.3377, allocations: 241.1 kB / 0.5257 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.3382, allocations: 272.2 kB / 0.526 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.27e-05/0.3383, allocations: 19.25 kB / 0.526 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.341, allocations: 1.951 MB / 0.5279 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.3412, allocations: 143 kB / 0.528 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.3415, allocations: 283.6 kB / 0.5283 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.3436, allocations: 1.672 MB / 0.5299 GB, free: 12.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3436, allocations: 3.984 kB / 0.5299 GB, free: 12.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3436, allocations: 0 / 0.5299 GB, free: 12.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3436, allocations: 0 / 0.5299 GB, free: 12.04 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.001631/0.3452, allocations: 1.027 MB / 0.5309 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3453, allocations: 9.031 kB / 0.531 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.3455, allocations: 151.7 kB / 0.5311 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.3456, allocations: 73.72 kB / 0.5312 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.3461, allocations: 355.2 kB / 0.5315 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.3461, allocations: 57.03 kB / 0.5316 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.3462, allocations: 72.92 kB / 0.5316 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.3478, allocations: 1.224 MB / 0.5328 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.3479, allocations: 5.188 kB / 0.5328 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.3479, allocations: 41.44 kB / 0.5329 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.272e-05/0.348, allocations: 81.64 kB / 0.5329 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.3506, allocations: 1.714 MB / 0.5346 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/0.355, allocations: 2.928 MB / 0.5375 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.3558, allocations: 430 kB / 0.5379 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.3561, allocations: 147.1 kB / 0.538 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.3562, allocations: 9.75 kB / 0.538 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3562, allocations: 33.09 kB / 0.5381 GB, free: 6.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.3562, allocations: 0 / 0.5381 GB, free: 6.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009406/0.3571, allocations: 480.2 kB / 0.5385 GB, free: 6.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.3572, allocations: 62.47 kB / 0.5386 GB, free: 6.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.3574, allocations: 210.5 kB / 0.5388 GB, free: 6.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3574, allocations: 35.45 kB / 0.5388 GB, free: 6.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.3577, allocations: 398.2 kB / 0.5392 GB, free: 5.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.3577, allocations: 118.5 kB / 0.5393 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.3579, allocations: 118.3 kB / 0.5394 GB, free: 5.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.358, allocations: 337.3 kB / 0.5398 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.3583, allocations: 149.5 kB / 0.5399 GB, free: 5.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.3587, allocations: 349.7 kB / 0.5402 GB, free: 5.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007647/0.3595, allocations: 0.54 MB / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.3595, allocations: 2.219 kB / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009562/0.3605, allocations: 0.5342 MB / 0.5413 GB, free: 4.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3605, allocations: 8.875 kB / 0.5413 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3605, allocations: 7.938 kB / 0.5413 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.3605, allocations: 16 kB / 0.5413 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.3612, allocations: 207.8 kB / 0.5415 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.3627, allocations: 2.989 MB / 0.5444 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.363, allocations: 59.64 kB / 0.5445 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.3631, allocations: 36 kB / 0.5445 GB, free: 0.7773 MB / 398.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.0003576/0.3634, allocations: 273.4 kB / 0.5448 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.3635, allocations: 23.81 kB / 0.5448 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.3646, allocations: 0.5387 MB / 0.5453 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3646, allocations: 4 kB / 0.5453 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3646, allocations: 8 kB / 0.5453 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3646, allocations: 3.984 kB / 0.5453 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.3663, allocations: 1.165 MB / 0.5465 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3663, allocations: 0 / 0.5465 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/0.3669, allocations: 179.7 kB / 0.5467 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.3669, allocations: 4 kB / 0.5467 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.367, allocations: 16 kB / 0.5467 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.3685, allocations: 2.97 MB / 0.5496 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3685, allocations: 0 / 0.5496 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.3694, allocations: 0.4984 MB / 0.5501 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.3695, allocations: 100.8 kB / 0.5502 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.3695, allocations: 15.92 kB / 0.5502 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3697, allocations: 20 kB / 0.5502 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.3698, allocations: 35.95 kB / 0.5502 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.3698, allocations: 23.94 kB / 0.5502 GB, free: 10.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.444e-05/0.3699, allocations: 135.2 kB / 0.5504 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3699, allocations: 0 / 0.5504 GB, free: 10.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001046/0.371, allocations: 350.8 kB / 0.5507 GB, free: 10.17 MB / 414.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.001711/0.3727, allocations: 1.269 MB / 0.5519 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.3738, allocations: 485.6 kB / 0.5524 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3738, allocations: 0 / 0.5524 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.3744, allocations: 261 kB / 0.5527 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3747, allocations: 31.73 kB / 0.5527 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.3797, allocations: 3.964 MB / 0.5566 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.3803, allocations: 0.9829 MB / 0.5575 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000395/0.3807, allocations: 166.6 kB / 0.5577 GB, free: 2.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.381, allocations: 207.4 kB / 0.5579 GB, free: 2.449 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.381, allocations: 0 / 0.5579 GB, free: 2.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.4134, allocations: 12.7 MB / 0.5703 GB, free: 5.973 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.62, allocations: 13.31 kB / 0.5703 GB, free: 5.965 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches