Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.001525/0.001525, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.367, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003954/0.371, allocations: 1.81 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.3739, allocations: 1.384 MB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3741, allocations: 5.844 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3744, allocations: 47.25 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.3746, allocations: 55.86 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.3753, allocations: 247 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.3755, allocations: 106 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.3755, allocations: 10.61 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.3758, allocations: 57.7 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.3759, allocations: 48.22 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3759, allocations: 4.125 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008023/0.3767, allocations: 0.5127 MB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.3767, allocations: 17.23 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.3768, allocations: 38.86 kB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000694/0.3775, allocations: 369.4 kB / 0.5351 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3775, allocations: 0 / 0.5351 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3775, allocations: 0 / 0.5351 GB, free: 9.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3775, allocations: 1.094 kB / 0.5351 GB, free: 9.977 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007184/0.3783, allocations: 438.4 kB / 0.5355 GB, free: 9.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3783, allocations: 14.53 kB / 0.5355 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.3784, allocations: 54.42 kB / 0.5356 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.3784, allocations: 18.03 kB / 0.5356 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.3786, allocations: 171.6 kB / 0.5358 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3786, allocations: 10 kB / 0.5358 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.3787, allocations: 15.88 kB / 0.5358 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.379, allocations: 141.6 kB / 0.5359 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.379, allocations: 3.938 kB / 0.5359 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.3791, allocations: 5.188 kB / 0.536 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3792, allocations: 7.406 kB / 0.536 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.3795, allocations: 132.8 kB / 0.5361 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.3804, allocations: 0.5099 MB / 0.5366 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.3807, allocations: 100.6 kB / 0.5367 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.3808, allocations: 48.39 kB / 0.5367 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.3809, allocations: 6.469 kB / 0.5367 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3809, allocations: 35.88 kB / 0.5368 GB, free: 8.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.3809, allocations: 0 / 0.5368 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004813/0.3814, allocations: 164.1 kB / 0.5369 GB, free: 8.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3814, allocations: 52.59 kB / 0.537 GB, free: 8.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3816, allocations: 110.9 kB / 0.5371 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3816, allocations: 29.7 kB / 0.5371 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.3817, allocations: 128 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.3818, allocations: 33.06 kB / 0.5373 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.3818, allocations: 36.92 kB / 0.5373 GB, free: 7.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.382, allocations: 328.1 kB / 0.5376 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3821, allocations: 41.38 kB / 0.5376 GB, free: 7.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3822, allocations: 74.97 kB / 0.5377 GB, free: 7.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.3825, allocations: 132.1 kB / 0.5378 GB, free: 7.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3825, allocations: 0 / 0.5378 GB, free: 7.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003521/0.3829, allocations: 161.9 kB / 0.538 GB, free: 7.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3829, allocations: 5.594 kB / 0.538 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3829, allocations: 1.125 kB / 0.538 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.383, allocations: 6.078 kB / 0.538 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.3832, allocations: 49.69 kB / 0.5381 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004497/0.3837, allocations: 0.5932 MB / 0.5386 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3838, allocations: 14.69 kB / 0.5387 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.3838, allocations: 13.27 kB / 0.5387 GB, free: 6.734 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.3839, allocations: 122.6 kB / 0.5388 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.384, allocations: 3.156 kB / 0.5388 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.3844, allocations: 172.2 kB / 0.5389 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3844, allocations: 2.219 kB / 0.5389 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3845, allocations: 7.922 kB / 0.539 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3845, allocations: 1.125 kB / 0.539 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.3848, allocations: 214.3 kB / 0.5392 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3848, allocations: 0 / 0.5392 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.385, allocations: 45.41 kB / 0.5392 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.385, allocations: 4.969 kB / 0.5392 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.385, allocations: 2.219 kB / 0.5392 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003219/0.3853, allocations: 0.5869 MB / 0.5398 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3854, allocations: 8.938 kB / 0.5398 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.3859, allocations: 295.9 kB / 0.5401 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.386, allocations: 97.84 kB / 0.5402 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.386, allocations: 5.906 kB / 0.5402 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3861, allocations: 7.891 kB / 0.5402 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.3862, allocations: 12.95 kB / 0.5402 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3862, allocations: 3.812 kB / 0.5402 GB, free: 5.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.59e-05/0.3863, allocations: 90.58 kB / 0.5403 GB, free: 5.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3863, allocations: 64 / 0.5403 GB, free: 5.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.3867, allocations: 78.62 kB / 0.5404 GB, free: 5.188 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/0.3878, allocations: 0.8993 MB / 0.5412 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.3883, allocations: 128.4 kB / 0.5414 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3883, allocations: 1.312 kB / 0.5414 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.3885, allocations: 75.52 kB / 0.5414 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3888, allocations: 7.625 kB / 0.5414 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.391, allocations: 1.729 MB / 0.5431 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3914, allocations: 0.7059 MB / 0.5438 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.3915, allocations: 25.52 kB / 0.5438 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.3915, allocations: 38.53 kB / 0.5439 GB, free: 2.031 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3915, allocations: 0 / 0.5439 GB, free: 2.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.4167, allocations: 3.942 MB / 0.5477 GB, free: 15.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.33, allocations: 8.266 kB / 0.5477 GB, free: 15.82 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches