Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001562/0.001562, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 71.89 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4063, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003733/0.4101, allocations: 1.923 MB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.4123, allocations: 1.142 MB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.4124, allocations: 1.375 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.4128, allocations: 65.48 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.4131, allocations: 73.2 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.4137, allocations: 161.6 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003984/0.4141, allocations: 257.5 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.4142, allocations: 39.89 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.4145, allocations: 109.6 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.4147, allocations: 115.5 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.4148, allocations: 7.094 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006091/0.4154, allocations: 318.7 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.4155, allocations: 54.83 kB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.4157, allocations: 120.8 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006663/0.4163, allocations: 437.2 kB / 0.5352 GB, free: 9.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4163, allocations: 0 / 0.5352 GB, free: 9.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4164, allocations: 1.375 kB / 0.5352 GB, free: 9.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.4164, allocations: 0 / 0.5352 GB, free: 9.93 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009273/0.4173, allocations: 0.5691 MB / 0.5358 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4174, allocations: 9.969 kB / 0.5358 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.02e-05/0.4175, allocations: 81.11 kB / 0.5359 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.4175, allocations: 35.78 kB / 0.5359 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.4178, allocations: 234.1 kB / 0.5361 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.4178, allocations: 26.19 kB / 0.5361 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.4179, allocations: 29.75 kB / 0.5362 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.4187, allocations: 498.9 kB / 0.5366 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4187, allocations: 1.125 kB / 0.5366 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.4187, allocations: 14.41 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/0.4188, allocations: 31.27 kB / 0.5367 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007393/0.4195, allocations: 426.4 kB / 0.5371 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.4211, allocations: 1.168 MB / 0.5382 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.4213, allocations: 84.75 kB / 0.5383 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.4215, allocations: 41.05 kB / 0.5384 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.4215, allocations: 6.234 kB / 0.5384 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4215, allocations: 31.72 kB / 0.5384 GB, free: 7.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.4215, allocations: 0 / 0.5384 GB, free: 7.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004812/0.422, allocations: 161 kB / 0.5385 GB, free: 7.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.4221, allocations: 56.41 kB / 0.5386 GB, free: 7.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.4222, allocations: 170.5 kB / 0.5388 GB, free: 7.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.4223, allocations: 30.73 kB / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4224, allocations: 214.5 kB / 0.539 GB, free: 6.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.4224, allocations: 28.73 kB / 0.539 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.4225, allocations: 55.86 kB / 0.5391 GB, free: 6.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4227, allocations: 322.5 kB / 0.5394 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.4228, allocations: 57.78 kB / 0.5394 GB, free: 6.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.423, allocations: 175.4 kB / 0.5396 GB, free: 6.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.4234, allocations: 253.9 kB / 0.5398 GB, free: 6.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.4234, allocations: 1.594 kB / 0.5399 GB, free: 6.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005261/0.424, allocations: 246.1 kB / 0.5401 GB, free: 5.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.424, allocations: 10.59 kB / 0.5401 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.424, allocations: 3.938 kB / 0.5401 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.424, allocations: 9.656 kB / 0.5401 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.4244, allocations: 85.62 kB / 0.5402 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009799/0.4254, allocations: 1.79 MB / 0.5419 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.4255, allocations: 35.64 kB / 0.542 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.4256, allocations: 12.97 kB / 0.542 GB, free: 4.098 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.4258, allocations: 178.3 kB / 0.5422 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.4258, allocations: 13.39 kB / 0.5422 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.4263, allocations: 190.6 kB / 0.5423 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4263, allocations: 1.312 kB / 0.5424 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4263, allocations: 1.438 kB / 0.5424 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4263, allocations: 0 / 0.5424 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.4267, allocations: 295.6 kB / 0.5426 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4267, allocations: 0 / 0.5426 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.4269, allocations: 65.84 kB / 0.5427 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4269, allocations: 1 kB / 0.5427 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4269, allocations: 7.312 kB / 0.5427 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008992/0.4278, allocations: 1.774 MB / 0.5444 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4279, allocations: 0 / 0.5444 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.4282, allocations: 213.3 kB / 0.5446 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.4283, allocations: 87.42 kB / 0.5447 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.4283, allocations: 5.234 kB / 0.5447 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.4284, allocations: 11.55 kB / 0.5447 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.4285, allocations: 9.609 kB / 0.5447 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4285, allocations: 4.594 kB / 0.5448 GB, free: 1.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.4286, allocations: 129.9 kB / 0.5449 GB, free: 1.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4286, allocations: 0 / 0.5449 GB, free: 1.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005878/0.4292, allocations: 99.41 kB / 0.545 GB, free: 1.312 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.4303, allocations: 0.7917 MB / 0.5457 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006438/0.431, allocations: 182.7 kB / 0.5459 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.431, allocations: 0 / 0.5459 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.4313, allocations: 92.62 kB / 0.546 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.4316, allocations: 7.844 kB / 0.546 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.4348, allocations: 2.209 MB / 0.5482 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.4352, allocations: 0.7989 MB / 0.549 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.4354, allocations: 63.98 kB / 0.549 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.4355, allocations: 76.14 kB / 0.5491 GB, free: 13.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4355, allocations: 0 / 0.5491 GB, free: 13.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.46, allocations: 5.351 MB / 0.5543 GB, free: 8.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.31, allocations: 9.688 kB / 0.5543 GB, free: 8.773 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches