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.001102/0.001102, allocations: 117.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, 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.367/1.367, 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.2172/0.2172, allocations: 46.09 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 79.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3708, allocations: 62.43 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00305/0.3739, allocations: 1.815 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.3759, allocations: 1.388 MB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.376, allocations: 0 / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.3762, allocations: 44.12 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.3764, allocations: 55.81 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.377, allocations: 247.2 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3771, allocations: 111.4 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.3772, allocations: 9.25 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.3774, allocations: 49.73 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.3775, allocations: 57.56 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3775, allocations: 4.125 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.3782, allocations: 0.5002 MB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.3782, allocations: 17.17 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.3783, allocations: 42.17 kB / 0.5348 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.3788, allocations: 361.9 kB / 0.5351 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3788, allocations: 0 / 0.5351 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3788, allocations: 5.125 kB / 0.5351 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3788, allocations: 0 / 0.5351 GB, free: 10 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.0005559/0.3794, allocations: 450.1 kB / 0.5355 GB, free: 9.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3794, allocations: 9.125 kB / 0.5355 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.3795, allocations: 42.33 kB / 0.5356 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.3795, allocations: 18.94 kB / 0.5356 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3797, allocations: 183.2 kB / 0.5358 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3797, allocations: 5.5 kB / 0.5358 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.3797, allocations: 15.75 kB / 0.5358 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.38, allocations: 147 kB / 0.5359 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.38, allocations: 0 / 0.5359 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3801, allocations: 5.375 kB / 0.5359 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3801, allocations: 6.688 kB / 0.536 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.3804, allocations: 136.1 kB / 0.5361 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.3813, allocations: 0.5143 MB / 0.5366 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.3815, allocations: 96.12 kB / 0.5367 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.3817, allocations: 52.77 kB / 0.5367 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3817, allocations: 2.125 kB / 0.5367 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3817, allocations: 43.64 kB / 0.5368 GB, free: 8.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.3818, allocations: 0 / 0.5368 GB, free: 8.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005069/0.3823, allocations: 160.1 kB / 0.5369 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3823, allocations: 53.88 kB / 0.537 GB, free: 8.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.747e-05/0.3824, allocations: 113.8 kB / 0.5371 GB, free: 8.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3824, allocations: 25.7 kB / 0.5371 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.3825, allocations: 128.3 kB / 0.5372 GB, free: 8.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.3826, allocations: 40.81 kB / 0.5373 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.3826, allocations: 37.05 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3827, allocations: 319.8 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3829, allocations: 37.94 kB / 0.5376 GB, free: 7.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.383, allocations: 86.95 kB / 0.5377 GB, free: 7.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.3833, allocations: 128 kB / 0.5378 GB, free: 7.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3833, allocations: 0 / 0.5378 GB, free: 7.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003509/0.3837, allocations: 156.8 kB / 0.538 GB, free: 7.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3837, allocations: 5.625 kB / 0.538 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3837, allocations: 2.281 kB / 0.538 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3837, allocations: 2.125 kB / 0.538 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.384, allocations: 53.66 kB / 0.5381 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003223/0.3843, allocations: 0.5845 MB / 0.5386 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3844, allocations: 22.05 kB / 0.5387 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3844, allocations: 5.938 kB / 0.5387 GB, free: 6.758 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 9.151e-05/0.3845, allocations: 129.5 kB / 0.5388 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.3846, allocations: 3.469 kB / 0.5388 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.385, allocations: 176.8 kB / 0.539 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.385, allocations: 1.125 kB / 0.539 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.385, allocations: 9.125 kB / 0.539 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.385, allocations: 4 kB / 0.539 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.3853, allocations: 210.5 kB / 0.5392 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3853, allocations: 0 / 0.5392 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.3855, allocations: 46.02 kB / 0.5392 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3855, allocations: 1.219 kB / 0.5392 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3855, allocations: 5.219 kB / 0.5392 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000275/0.3858, allocations: 0.5833 MB / 0.5398 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3858, allocations: 5.219 kB / 0.5398 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.3863, allocations: 295.3 kB / 0.5401 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.3864, allocations: 102.3 kB / 0.5402 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3864, allocations: 1.188 kB / 0.5402 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3865, allocations: 11.73 kB / 0.5402 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.3866, allocations: 14.39 kB / 0.5402 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3866, allocations: 2.906 kB / 0.5402 GB, free: 5.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.3867, allocations: 94.55 kB / 0.5403 GB, free: 5.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3867, allocations: 0 / 0.5403 GB, free: 5.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.3871, allocations: 82.95 kB / 0.5404 GB, free: 5.203 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.0009567/0.388, allocations: 0.8944 MB / 0.5412 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003958/0.3884, allocations: 126.1 kB / 0.5414 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3885, allocations: 0 / 0.5414 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.3887, allocations: 71.89 kB / 0.5414 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.389, allocations: 8.188 kB / 0.5414 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.391, allocations: 1.73 MB / 0.5431 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3913, allocations: 0.71 MB / 0.5438 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.54e-05/0.3914, allocations: 21.31 kB / 0.5438 GB, free: 2.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.3915, allocations: 35.36 kB / 0.5439 GB, free: 2.055 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3915, allocations: 4 kB / 0.5439 GB, free: 2.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.4145, allocations: 3.936 MB / 0.5477 GB, free: 15.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.65, allocations: 5.516 kB / 0.5477 GB, free: 15.86 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