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.001053/0.001053, allocations: 113.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.001157/0.001157, allocations: 180.1 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.269/1.269, 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.1978/0.1978, allocations: 44.17 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3632, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003029/0.3662, allocations: 1.447 MB / 0.5198 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3683, allocations: 1.413 MB / 0.5212 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.3684, allocations: 5.031 kB / 0.5212 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.3686, allocations: 30.06 kB / 0.5213 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.3689, allocations: 49.08 kB / 0.5213 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007286/0.3697, allocations: 229.7 kB / 0.5215 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.3698, allocations: 59.28 kB / 0.5216 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.3699, allocations: 4.391 kB / 0.5216 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.3699, allocations: 22.78 kB / 0.5216 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.37, allocations: 26.8 kB / 0.5216 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.37, allocations: 1.375 kB / 0.5216 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007717/0.3708, allocations: 334.3 kB / 0.5219 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.3709, allocations: 12 kB / 0.522 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.3709, allocations: 30.48 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006565/0.3716, allocations: 276 kB / 0.5223 GB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3716, allocations: 0 / 0.5223 GB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3716, allocations: 4.906 kB / 0.5223 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3716, allocations: 0 / 0.5223 GB, free: 0.8281 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.0004692/0.3721, allocations: 408.5 kB / 0.5226 GB, free: 440 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3721, allocations: 10.09 kB / 0.5227 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.3722, allocations: 37.36 kB / 0.5227 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.3722, allocations: 7.031 kB / 0.5227 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3723, allocations: 177.4 kB / 0.5229 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3723, allocations: 2.906 kB / 0.5229 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.3724, allocations: 6.812 kB / 0.5229 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.3725, allocations: 70.88 kB / 0.5229 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3725, allocations: 0 / 0.5229 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3725, allocations: 1.188 kB / 0.5229 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3725, allocations: 0.6094 kB / 0.5229 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.3726, allocations: 55.53 kB / 0.523 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.3729, allocations: 189.5 kB / 0.5232 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.373, allocations: 62.58 kB / 0.5232 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.3731, allocations: 45.5 kB / 0.5233 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.501e-05/0.3731, allocations: 22 kB / 0.5233 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3732, allocations: 36.64 kB / 0.5233 GB, free: 15.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.3732, allocations: 0 / 0.5233 GB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02032/0.3935, allocations: 1.625 MB / 0.5249 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3936, allocations: 53.7 kB / 0.525 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3938, allocations: 136.7 kB / 0.5251 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3938, allocations: 26.7 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.3939, allocations: 86.61 kB / 0.5252 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.3939, allocations: 36.7 kB / 0.5252 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.3941, allocations: 47.02 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3943, allocations: 324.2 kB / 0.5256 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.3949, allocations: 213.3 kB / 0.5258 GB, free: 14.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.3955, allocations: 199.1 kB / 0.526 GB, free: 14.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.3968, allocations: 384.4 kB / 0.5264 GB, free: 14.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3968, allocations: 0 / 0.5264 GB, free: 14.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001336/0.3982, allocations: 451.9 kB / 0.5268 GB, free: 14.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3982, allocations: 4.125 kB / 0.5268 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3982, allocations: 5.312 kB / 0.5268 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3982, allocations: 3.984 kB / 0.5268 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.3988, allocations: 67.88 kB / 0.5269 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3988, allocations: 1.375 kB / 0.5269 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.3992, allocations: 40.41 kB / 0.5269 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.3992, allocations: 14.05 kB / 0.5269 GB, free: 14.08 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.0001322/0.3994, allocations: 117.2 kB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.3994, allocations: 10.69 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.4008, allocations: 362 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4008, allocations: 1.5 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4008, allocations: 0 / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.4009, allocations: 5.328 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.4036, allocations: 0.7823 MB / 0.5282 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4037, allocations: 1.188 kB / 0.5282 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.4041, allocations: 59.69 kB / 0.5282 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/0.4042, allocations: 6.156 kB / 0.5282 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.4042, allocations: 15.61 kB / 0.5282 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.4042, allocations: 10.22 kB / 0.5283 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4042, allocations: 1.156 kB / 0.5283 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.4055, allocations: 421.7 kB / 0.5287 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4056, allocations: 103.6 kB / 0.5288 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.4057, allocations: 6.547 kB / 0.5288 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.4061, allocations: 44.97 kB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.4062, allocations: 8.484 kB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.4062, allocations: 13.33 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.678e-05/0.4063, allocations: 99.58 kB / 0.5289 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4063, allocations: 3.938 kB / 0.5289 GB, free: 12.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008498/0.4071, allocations: 168.9 kB / 0.5291 GB, free: 12.57 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.002459/0.4096, allocations: 1.1 MB / 0.5302 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.4109, allocations: 376.3 kB / 0.5305 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.4109, allocations: 0 / 0.5305 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.4115, allocations: 148.1 kB / 0.5307 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.4119, allocations: 15.2 kB / 0.5307 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007096/0.419, allocations: 2.741 MB / 0.5333 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.4194, allocations: 0.7091 MB / 0.534 GB, free: 8.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.4196, allocations: 37.98 kB / 0.5341 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.4197, allocations: 35.66 kB / 0.5341 GB, free: 8.668 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4197, allocations: 192 / 0.5341 GB, free: 8.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.4506, allocations: 10.07 MB / 0.5439 GB, free: 1.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.937, allocations: 15.66 kB / 0.544 GB, free: 1.57 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