Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.002027/0.002027, allocations: 117.6 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.002128/0.002129, allocations: 200.7 kB / 18.74 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.431/1.431, allocations: 227.4 MB / 247 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2418/0.2418, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 75.88 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3678, allocations: 62.45 MB / 0.5307 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.00355/0.3715, allocations: 1.66 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3734, allocations: 0.9127 MB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.3735, allocations: 1.375 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.3738, allocations: 32.03 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.374, allocations: 46.8 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.3744, allocations: 135.5 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.3747, allocations: 142.4 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.3747, allocations: 15.95 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.3748, allocations: 60.95 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.375, allocations: 71.38 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.375, allocations: 4.031 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.3754, allocations: 210.4 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.3755, allocations: 42.23 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.3756, allocations: 61.08 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.3761, allocations: 241.6 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3761, allocations: 0 / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3761, allocations: 0 / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3761, allocations: 3.938 kB / 0.5342 GB, free: 10.68 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008507/0.377, allocations: 474.2 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.377, allocations: 10.53 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.852e-05/0.3771, allocations: 60.91 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.3782, allocations: 113.3 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.3785, allocations: 226.2 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3785, allocations: 9.875 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.3785, allocations: 12.62 kB / 0.5351 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.3792, allocations: 318.4 kB / 0.5354 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3792, allocations: 7.938 kB / 0.5354 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.3793, allocations: 5.375 kB / 0.5354 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/0.3793, allocations: 20.48 kB / 0.5354 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.3802, allocations: 319.5 kB / 0.5357 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3817, allocations: 0.8352 MB / 0.5365 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.3825, allocations: 229.5 kB / 0.5367 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.3828, allocations: 81.75 kB / 0.5368 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.3828, allocations: 9.031 kB / 0.5368 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3828, allocations: 31.72 kB / 0.5368 GB, free: 8.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.3828, allocations: 0 / 0.5368 GB, free: 8.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001068/0.3839, allocations: 300.8 kB / 0.5371 GB, free: 8.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.384, allocations: 52.81 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.3842, allocations: 189.7 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.3842, allocations: 27.08 kB / 0.5374 GB, free: 8.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3843, allocations: 144.6 kB / 0.5375 GB, free: 8.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.3844, allocations: 31.91 kB / 0.5376 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/0.3845, allocations: 58.78 kB / 0.5376 GB, free: 7.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3847, allocations: 324 kB / 0.5379 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.385, allocations: 85.86 kB / 0.538 GB, free: 7.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.3853, allocations: 138.9 kB / 0.5381 GB, free: 7.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.386, allocations: 223.8 kB / 0.5383 GB, free: 7.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.386, allocations: 0 / 0.5383 GB, free: 7.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000749/0.3868, allocations: 265.9 kB / 0.5386 GB, free: 7.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3868, allocations: 6.531 kB / 0.5386 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3868, allocations: 5.344 kB / 0.5386 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3868, allocations: 11.45 kB / 0.5386 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.3873, allocations: 78.03 kB / 0.5387 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.3885, allocations: 1.788 MB / 0.5404 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.3887, allocations: 29.48 kB / 0.5405 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.3888, allocations: 12.2 kB / 0.5405 GB, free: 5.312 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (17): * Single equations (assignments): 14 * 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.0001597/0.3889, allocations: 137.3 kB / 0.5406 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.389, allocations: 18.84 kB / 0.5406 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007926/0.3898, allocations: 264.8 kB / 0.5409 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3898, allocations: 1.469 kB / 0.5409 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3898, allocations: 0 / 0.5409 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3898, allocations: 1.625 kB / 0.5409 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.3901, allocations: 260.1 kB / 0.5411 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3901, allocations: 0 / 0.5411 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.3905, allocations: 76.16 kB / 0.5412 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.3905, allocations: 5.141 kB / 0.5412 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.3906, allocations: 14.8 kB / 0.5412 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.3918, allocations: 1.786 MB / 0.543 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3918, allocations: 1.438 kB / 0.543 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.3925, allocations: 317.2 kB / 0.5433 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.3926, allocations: 85.5 kB / 0.5434 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3926, allocations: 5.156 kB / 0.5434 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.3929, allocations: 7.922 kB / 0.5434 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.393, allocations: 17.62 kB / 0.5434 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.393, allocations: 8.766 kB / 0.5434 GB, free: 2.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.3931, allocations: 138.9 kB / 0.5435 GB, free: 2.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3931, allocations: 3.938 kB / 0.5435 GB, free: 2.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.3935, allocations: 65.91 kB / 0.5436 GB, free: 2.426 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 (10): * Single equations (assignments): 7 * 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.001295/0.3948, allocations: 0.8735 MB / 0.5444 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008432/0.3957, allocations: 237 kB / 0.5447 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3957, allocations: 1.094 kB / 0.5447 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.3962, allocations: 131.3 kB / 0.5448 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.3964, allocations: 14.53 kB / 0.5448 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.4003, allocations: 2.347 MB / 0.5471 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.4007, allocations: 0.7393 MB / 0.5478 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.4009, allocations: 65.45 kB / 0.5479 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.4011, allocations: 53.7 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4011, allocations: 4 kB / 0.5479 GB, free: 14.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.4308, allocations: 4.87 MB / 0.5527 GB, free: 10.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.18, allocations: 20.31 kB / 0.5527 GB, free: 10.54 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches