Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 101.5 kB / 17.77 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2271/0.2271, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3311, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002568/0.3337, allocations: 1.8 MB / 0.5202 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3355, allocations: 1.338 MB / 0.5215 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.3356, allocations: 1 kB / 0.5215 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.3359, allocations: 40.94 kB / 0.5215 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.3361, allocations: 56.53 kB / 0.5216 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.3367, allocations: 235.4 kB / 0.5218 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.3369, allocations: 110 kB / 0.5219 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.337, allocations: 11.06 kB / 0.5219 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.3371, allocations: 48.39 kB / 0.522 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.3372, allocations: 55.22 kB / 0.522 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3372, allocations: 4.469 kB / 0.522 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007935/0.338, allocations: 499.9 kB / 0.5225 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.3381, allocations: 18.03 kB / 0.5225 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.3381, allocations: 46.38 kB / 0.5226 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.3387, allocations: 356.6 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3387, allocations: 4 kB / 0.5229 GB, free: 0.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3387, allocations: 0 / 0.5229 GB, free: 0.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.3387, allocations: 1.125 kB / 0.5229 GB, free: 0.543 MB / 382.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.0006222/0.3393, allocations: 436.4 kB / 0.5233 GB, free: 132 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.3394, allocations: 9.906 kB / 0.5234 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.3395, allocations: 44.94 kB / 0.5234 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.3395, allocations: 11.72 kB / 0.5234 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.3397, allocations: 177.8 kB / 0.5236 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3397, allocations: 11.25 kB / 0.5236 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.3398, allocations: 17.25 kB / 0.5236 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.3402, allocations: 139 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3402, allocations: 0 / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3402, allocations: 1.094 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3402, allocations: 3.469 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.3407, allocations: 141.7 kB / 0.5239 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.3419, allocations: 0.5168 MB / 0.5244 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.3423, allocations: 96.91 kB / 0.5245 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.3425, allocations: 56.78 kB / 0.5245 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.3425, allocations: 11.06 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.3426, allocations: 36.48 kB / 0.5246 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 3.927e-06/0.3426, allocations: 3.984 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006401/0.3432, allocations: 155.7 kB / 0.5247 GB, free: 15.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.3433, allocations: 53.94 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3435, allocations: 122.1 kB / 0.5249 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.3435, allocations: 26.89 kB / 0.5249 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3436, allocations: 117.4 kB / 0.525 GB, free: 14.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.3437, allocations: 38.94 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.3438, allocations: 36.75 kB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.344, allocations: 323 kB / 0.5254 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.3441, allocations: 37.94 kB / 0.5254 GB, free: 14.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.3444, allocations: 88.73 kB / 0.5255 GB, free: 14.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.3447, allocations: 124.2 kB / 0.5257 GB, free: 14.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3447, allocations: 0.5625 kB / 0.5257 GB, free: 14.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004189/0.3452, allocations: 151.2 kB / 0.5258 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.3452, allocations: 6.891 kB / 0.5258 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3452, allocations: 1.312 kB / 0.5258 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.3453, allocations: 10.84 kB / 0.5258 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3455, allocations: 48.89 kB / 0.5259 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004254/0.346, allocations: 0.5899 MB / 0.5264 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.3461, allocations: 17.48 kB / 0.5265 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3461, allocations: 6.25 kB / 0.5265 GB, free: 13.57 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.0001247/0.3462, allocations: 126.7 kB / 0.5266 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.3463, allocations: 8.031 kB / 0.5266 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004958/0.3468, allocations: 164.2 kB / 0.5267 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3468, allocations: 5.375 kB / 0.5268 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.3468, allocations: 3.938 kB / 0.5268 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3468, allocations: 0.8906 kB / 0.5268 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.3472, allocations: 218.2 kB / 0.527 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3472, allocations: 0 / 0.527 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.3474, allocations: 45.5 kB / 0.527 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3474, allocations: 1.984 kB / 0.527 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3474, allocations: 6.078 kB / 0.527 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003201/0.3477, allocations: 0.5885 MB / 0.5276 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3478, allocations: 0 / 0.5276 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.3483, allocations: 295.6 kB / 0.5279 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.3483, allocations: 103 kB / 0.528 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.3484, allocations: 0.9531 kB / 0.528 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3485, allocations: 14.42 kB / 0.528 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.3486, allocations: 9.016 kB / 0.528 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3486, allocations: 9.203 kB / 0.528 GB, free: 12.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.88e-05/0.3487, allocations: 89.39 kB / 0.5281 GB, free: 12.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3487, allocations: 0 / 0.5281 GB, free: 12.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005132/0.3492, allocations: 75.64 kB / 0.5282 GB, free: 12.12 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.001282/0.3505, allocations: 0.9027 MB / 0.529 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.351, allocations: 127.1 kB / 0.5292 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.351, allocations: 0 / 0.5292 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.3512, allocations: 76.45 kB / 0.5292 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3516, allocations: 15.52 kB / 0.5292 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.3539, allocations: 1.719 MB / 0.5309 GB, free: 9.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.3542, allocations: 0.7066 MB / 0.5316 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.049e-05/0.3543, allocations: 16.3 kB / 0.5316 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.3544, allocations: 43.16 kB / 0.5317 GB, free: 9.031 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3544, allocations: 0 / 0.5317 GB, free: 9.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.3766, allocations: 3.831 MB / 0.5354 GB, free: 7.105 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.37, allocations: 25.75 kB / 0.5354 GB, free: 7.086 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches