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.001582/0.001582, allocations: 121.6 kB / 17.78 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.001841/0.001841, allocations: 200.7 kB / 18.73 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.477/1.477, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 75.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3337, allocations: 62.45 MB / 0.5307 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003005/0.3368, allocations: 1.805 MB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.339, allocations: 1.389 MB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.3391, allocations: 5.438 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.3393, allocations: 46.81 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.3395, allocations: 51.92 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.34, allocations: 243.5 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3402, allocations: 107.4 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.3402, allocations: 9.234 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.3404, allocations: 57.72 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.3405, allocations: 52.2 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3406, allocations: 8.109 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007211/0.3413, allocations: 0.4971 MB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.3413, allocations: 18.61 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.3414, allocations: 49.47 kB / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.3419, allocations: 358.5 kB / 0.5352 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3419, allocations: 5.188 kB / 0.5352 GB, free: 9.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.342, allocations: 0 / 0.5352 GB, free: 9.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.342, allocations: 0 / 0.5352 GB, free: 9.891 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.000612/0.3426, allocations: 446.8 kB / 0.5357 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3426, allocations: 13.03 kB / 0.5357 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.3427, allocations: 43.17 kB / 0.5357 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.3427, allocations: 10.52 kB / 0.5357 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.3429, allocations: 187.4 kB / 0.5359 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3429, allocations: 5.094 kB / 0.5359 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.3429, allocations: 20.02 kB / 0.5359 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.3432, allocations: 142.1 kB / 0.5361 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3433, allocations: 1.188 kB / 0.5361 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3433, allocations: 5.094 kB / 0.5361 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3433, allocations: 6.203 kB / 0.5361 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.3436, allocations: 140.4 kB / 0.5362 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000902/0.3445, allocations: 0.5107 MB / 0.5367 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.3448, allocations: 99.73 kB / 0.5368 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.345, allocations: 53.48 kB / 0.5368 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.345, allocations: 1.25 kB / 0.5368 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.345, allocations: 36.66 kB / 0.5369 GB, free: 8.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.345, allocations: 0 / 0.5369 GB, free: 8.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004877/0.3455, allocations: 160.3 kB / 0.537 GB, free: 8.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3456, allocations: 57.09 kB / 0.5371 GB, free: 8.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3457, allocations: 121.7 kB / 0.5372 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3457, allocations: 27.08 kB / 0.5372 GB, free: 8.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.3458, allocations: 120.6 kB / 0.5373 GB, free: 7.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.3459, allocations: 39.41 kB / 0.5374 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.3459, allocations: 33.41 kB / 0.5374 GB, free: 7.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3461, allocations: 324.2 kB / 0.5377 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3462, allocations: 41.66 kB / 0.5378 GB, free: 7.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3464, allocations: 85.61 kB / 0.5378 GB, free: 7.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.3467, allocations: 131 kB / 0.538 GB, free: 7.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3467, allocations: 1.062 kB / 0.538 GB, free: 7.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003388/0.347, allocations: 153 kB / 0.5381 GB, free: 7.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3471, allocations: 14.36 kB / 0.5381 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3471, allocations: 1.062 kB / 0.5381 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3471, allocations: 6.438 kB / 0.5381 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.3473, allocations: 48.97 kB / 0.5382 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003868/0.3477, allocations: 0.5886 MB / 0.5388 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3478, allocations: 11.06 kB / 0.5388 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.3479, allocations: 13.11 kB / 0.5388 GB, free: 6.641 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.0001131/0.348, allocations: 126.2 kB / 0.5389 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.348, allocations: 7.484 kB / 0.5389 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.3484, allocations: 181.4 kB / 0.5391 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3484, allocations: 1.031 kB / 0.5391 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3485, allocations: 4.969 kB / 0.5391 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.3485, allocations: 0 / 0.5391 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3487, allocations: 210 kB / 0.5393 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3487, allocations: 5.031 kB / 0.5393 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.3489, allocations: 38.09 kB / 0.5393 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.349, allocations: 0 / 0.5393 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.349, allocations: 10.11 kB / 0.5393 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003488/0.3493, allocations: 0.591 MB / 0.5399 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3493, allocations: 1.25 kB / 0.5399 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.3498, allocations: 295.5 kB / 0.5402 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.3499, allocations: 102.2 kB / 0.5403 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.35, allocations: 1 kB / 0.5403 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3501, allocations: 12.14 kB / 0.5403 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.3501, allocations: 9.641 kB / 0.5403 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3502, allocations: 3.531 kB / 0.5403 GB, free: 5.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.248e-05/0.3502, allocations: 90.3 kB / 0.5404 GB, free: 5.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3502, allocations: 1.156 kB / 0.5404 GB, free: 5.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000397/0.3506, allocations: 78.22 kB / 0.5405 GB, free: 5.094 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.001072/0.3517, allocations: 0.9125 MB / 0.5414 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.3521, allocations: 126.6 kB / 0.5415 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3521, allocations: 0 / 0.5415 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.3523, allocations: 75.8 kB / 0.5416 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.3526, allocations: 11.86 kB / 0.5416 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.3548, allocations: 1.726 MB / 0.5433 GB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3552, allocations: 0.7097 MB / 0.544 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.183e-05/0.3552, allocations: 12.53 kB / 0.544 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.3553, allocations: 39.22 kB / 0.544 GB, free: 1.93 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3553, allocations: 192 / 0.544 GB, free: 1.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.3838, allocations: 3.91 MB / 0.5478 GB, free: 15.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12, allocations: 10.2 kB / 0.5478 GB, free: 15.73 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