Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",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.001466/0.001466, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.001649/0.001649, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2073/0.2073, allocations: 44.19 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3317, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002176/0.3339, allocations: 1.445 MB / 0.5198 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3355, allocations: 1.418 MB / 0.5212 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.3356, allocations: 0 / 0.5212 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.3358, allocations: 35.92 kB / 0.5213 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.3361, allocations: 48.02 kB / 0.5213 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.3367, allocations: 221.4 kB / 0.5215 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3369, allocations: 59.05 kB / 0.5216 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.3369, allocations: 9.062 kB / 0.5216 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.337, allocations: 22.75 kB / 0.5216 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.3371, allocations: 26.52 kB / 0.5216 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.3371, allocations: 1.25 kB / 0.5216 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006446/0.3377, allocations: 330.1 kB / 0.5219 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.3378, allocations: 7.562 kB / 0.5219 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.3378, allocations: 31.91 kB / 0.522 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.3383, allocations: 283.7 kB / 0.5222 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3383, allocations: 0 / 0.5222 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3383, allocations: 0 / 0.5222 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3384, allocations: 5.062 kB / 0.5223 GB, free: 0.8438 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004732/0.3388, allocations: 407.4 kB / 0.5226 GB, free: 456 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3389, allocations: 10.34 kB / 0.5227 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.3389, allocations: 38.38 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.3389, allocations: 5.938 kB / 0.5227 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.593e-05/0.3391, allocations: 178.3 kB / 0.5229 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3391, allocations: 1.531 kB / 0.5229 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3391, allocations: 3.719 kB / 0.5229 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3392, allocations: 74.83 kB / 0.5229 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3393, allocations: 0 / 0.5229 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3393, allocations: 5.484 kB / 0.5229 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3393, allocations: 4.938 kB / 0.5229 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3394, allocations: 54.62 kB / 0.523 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.3396, allocations: 190.2 kB / 0.5232 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.3397, allocations: 62.75 kB / 0.5232 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.3398, allocations: 40.84 kB / 0.5233 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-05/0.3399, allocations: 26.52 kB / 0.5233 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3399, allocations: 31.69 kB / 0.5233 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.3399, allocations: 0 / 0.5233 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02082/0.3607, allocations: 1.625 MB / 0.5249 GB, free: 15.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.3608, allocations: 57.38 kB / 0.525 GB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.361, allocations: 135.5 kB / 0.5251 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.361, allocations: 25.7 kB / 0.5251 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.3611, allocations: 86.78 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.3612, allocations: 36.3 kB / 0.5252 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3613, allocations: 46.84 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3614, allocations: 325 kB / 0.5256 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006482/0.3621, allocations: 207.2 kB / 0.5258 GB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.3627, allocations: 205.8 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.3641, allocations: 382 kB / 0.5264 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3641, allocations: 0 / 0.5264 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00151/0.3656, allocations: 452.1 kB / 0.5268 GB, free: 14.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.3656, allocations: 5.5 kB / 0.5268 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3657, allocations: 4.016 kB / 0.5268 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3657, allocations: 1.375 kB / 0.5268 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.3662, allocations: 67.88 kB / 0.5269 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3662, allocations: 3.984 kB / 0.5269 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.3667, allocations: 44.7 kB / 0.5269 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.3667, allocations: 9.484 kB / 0.5269 GB, free: 14.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.3669, allocations: 117.9 kB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.3669, allocations: 10.56 kB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.3684, allocations: 362.3 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3684, allocations: 1.375 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3684, allocations: 0 / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3685, allocations: 1.469 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.3715, allocations: 0.7819 MB / 0.5282 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3716, allocations: 5.109 kB / 0.5282 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.3721, allocations: 64.28 kB / 0.5282 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.3721, allocations: 1.125 kB / 0.5282 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.3721, allocations: 16.66 kB / 0.5282 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.3722, allocations: 9.141 kB / 0.5283 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3722, allocations: 1.219 kB / 0.5283 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.3736, allocations: 422.4 kB / 0.5287 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3737, allocations: 107.9 kB / 0.5288 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.3738, allocations: 1.375 kB / 0.5288 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.3742, allocations: 49.48 kB / 0.5288 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.3743, allocations: 4.844 kB / 0.5288 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.3743, allocations: 9.484 kB / 0.5288 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.395e-05/0.3744, allocations: 106 kB / 0.5289 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3744, allocations: 1.25 kB / 0.5289 GB, free: 12.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006763/0.3751, allocations: 171.7 kB / 0.5291 GB, free: 12.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002519/0.3776, allocations: 1.102 MB / 0.5302 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.379, allocations: 372 kB / 0.5305 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.379, allocations: 1.219 kB / 0.5305 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006075/0.3796, allocations: 147.9 kB / 0.5307 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.38, allocations: 18.17 kB / 0.5307 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/0.3872, allocations: 2.745 MB / 0.5334 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3876, allocations: 0.7011 MB / 0.534 GB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.3878, allocations: 51.44 kB / 0.5341 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.388, allocations: 34 kB / 0.5341 GB, free: 8.68 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.388, allocations: 1.281 kB / 0.5341 GB, free: 8.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.4206, allocations: 10.07 MB / 0.544 GB, free: 1.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.239, allocations: 10.19 kB / 0.544 GB, free: 1.586 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches