Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001763/0.001763, allocations: 187 kB / 18.71 MB, free: 4.348 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.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2252/0.2252, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 470.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.349, allocations: 60.83 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002593/0.3517, allocations: 1.654 MB / 0.5201 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3529, allocations: 0.8646 MB / 0.5209 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.353, allocations: 5.469 kB / 0.5209 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.3532, allocations: 40.67 kB / 0.5209 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.3534, allocations: 45.73 kB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.3539, allocations: 134.8 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.3541, allocations: 139.3 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.3542, allocations: 15.89 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.3542, allocations: 57.56 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.3544, allocations: 66.56 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3544, allocations: 4.969 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.3548, allocations: 215 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.3549, allocations: 40.64 kB / 0.5216 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.355, allocations: 60.72 kB / 0.5217 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.3553, allocations: 246.3 kB / 0.5219 GB, free: 1.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3553, allocations: 0 / 0.5219 GB, free: 1.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3553, allocations: 0 / 0.5219 GB, free: 1.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3554, allocations: 1.656 kB / 0.5219 GB, free: 1.137 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005194/0.3559, allocations: 465.9 kB / 0.5224 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3559, allocations: 10.06 kB / 0.5224 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.356, allocations: 57.88 kB / 0.5224 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.357, allocations: 119 kB / 0.5225 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.3573, allocations: 225.9 kB / 0.5228 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3573, allocations: 9.656 kB / 0.5228 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.3573, allocations: 13.14 kB / 0.5228 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/0.358, allocations: 324.7 kB / 0.5231 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3581, allocations: 1.031 kB / 0.5231 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.3581, allocations: 6.141 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.3581, allocations: 26.88 kB / 0.5231 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008291/0.359, allocations: 322 kB / 0.5234 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.3605, allocations: 0.8196 MB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007714/0.3613, allocations: 220.6 kB / 0.5244 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.3616, allocations: 89.59 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3617, allocations: 1.719 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3617, allocations: 37.3 kB / 0.5246 GB, free: 15.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/0.3617, allocations: 3.938 kB / 0.5246 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001091/0.3628, allocations: 290.6 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.3628, allocations: 56.78 kB / 0.5249 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.363, allocations: 185 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.3631, allocations: 31.08 kB / 0.5251 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.3632, allocations: 138.8 kB / 0.5252 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.3632, allocations: 36.44 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/0.3633, allocations: 50.98 kB / 0.5253 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3634, allocations: 325.8 kB / 0.5256 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.3638, allocations: 89.47 kB / 0.5257 GB, free: 14.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.3641, allocations: 135 kB / 0.5258 GB, free: 14.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/0.3647, allocations: 224.2 kB / 0.5261 GB, free: 14.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3647, allocations: 0 / 0.5261 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007875/0.3655, allocations: 273.6 kB / 0.5263 GB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3655, allocations: 5.688 kB / 0.5263 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3655, allocations: 1.656 kB / 0.5263 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3656, allocations: 7.75 kB / 0.5263 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.366, allocations: 86.2 kB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009893/0.367, allocations: 1.784 MB / 0.5282 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.3672, allocations: 21.36 kB / 0.5282 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.3673, allocations: 21.02 kB / 0.5282 GB, free: 12.4 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.0001557/0.3675, allocations: 145.1 kB / 0.5283 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.3675, allocations: 25.12 kB / 0.5284 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008293/0.3684, allocations: 262 kB / 0.5286 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3684, allocations: 1.344 kB / 0.5286 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3684, allocations: 3.984 kB / 0.5286 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3684, allocations: 1.25 kB / 0.5286 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.3687, allocations: 252.8 kB / 0.5289 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3687, allocations: 0 / 0.5289 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.3691, allocations: 67.95 kB / 0.5289 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3691, allocations: 3.938 kB / 0.5289 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.3691, allocations: 7.516 kB / 0.5289 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008597/0.37, allocations: 1.783 MB / 0.5307 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.37, allocations: 288 / 0.5307 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/0.3707, allocations: 322.7 kB / 0.531 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.3708, allocations: 88.27 kB / 0.5311 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.3708, allocations: 10.05 kB / 0.5311 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.371, allocations: 3.281 kB / 0.5311 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.3711, allocations: 13.44 kB / 0.5311 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.3712, allocations: 20.88 kB / 0.5311 GB, free: 9.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3713, allocations: 137.8 kB / 0.5312 GB, free: 9.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3713, allocations: 3.938 kB / 0.5313 GB, free: 9.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000403/0.3717, allocations: 58 kB / 0.5313 GB, free: 9.52 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.001238/0.3729, allocations: 0.8814 MB / 0.5322 GB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008879/0.3738, allocations: 238.1 kB / 0.5324 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3739, allocations: 0.75 kB / 0.5324 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.3743, allocations: 128.1 kB / 0.5325 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.3746, allocations: 7.969 kB / 0.5325 GB, free: 8.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.3787, allocations: 2.341 MB / 0.5348 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.3793, allocations: 0.7363 MB / 0.5355 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.3795, allocations: 65.11 kB / 0.5356 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3797, allocations: 62.56 kB / 0.5357 GB, free: 5.953 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3797, allocations: 0 / 0.5357 GB, free: 5.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.4071, allocations: 4.933 MB / 0.5405 GB, free: 3.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.52, allocations: 24.23 kB / 0.5405 GB, free: 3.484 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches