Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 117.7 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 204.6 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 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.2164/0.2164, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3619, allocations: 62.44 MB / 0.5305 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002743/0.3647, allocations: 1.458 MB / 0.5319 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.3669, allocations: 1.444 MB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.367, allocations: 0 / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.3673, allocations: 34.39 kB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.3676, allocations: 46.73 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.3682, allocations: 226.6 kB / 0.5336 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.3684, allocations: 50.72 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.3685, allocations: 12.08 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.517e-05/0.3685, allocations: 24.08 kB / 0.5337 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.3686, allocations: 29.7 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3686, allocations: 6.609 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007848/0.3694, allocations: 334.8 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.3695, allocations: 9.312 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.3695, allocations: 30.8 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.3701, allocations: 280.2 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3701, allocations: 0 / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3701, allocations: 0 / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3701, allocations: 1.375 kB / 0.5344 GB, free: 10.44 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006635/0.3708, allocations: 415 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3709, allocations: 9.625 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.3709, allocations: 36.11 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.371, allocations: 7.594 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.3711, allocations: 182.3 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3711, allocations: 5.75 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.3711, allocations: 7.031 kB / 0.535 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3713, allocations: 67.48 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3713, allocations: 0 / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3713, allocations: 1.375 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3713, allocations: 5.375 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.074e-05/0.3714, allocations: 56.84 kB / 0.5351 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.3716, allocations: 182.1 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.529e-05/0.3717, allocations: 65.67 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.3718, allocations: 43.81 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.995e-05/0.3719, allocations: 24.94 kB / 0.5354 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3719, allocations: 34.56 kB / 0.5355 GB, free: 9.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.3719, allocations: 0 / 0.5355 GB, free: 9.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02018/0.3921, allocations: 1.627 MB / 0.5371 GB, free: 8.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3922, allocations: 52.59 kB / 0.5371 GB, free: 8.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3924, allocations: 137.3 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.3924, allocations: 30.86 kB / 0.5373 GB, free: 8.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.3925, allocations: 85.17 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.3925, allocations: 44.92 kB / 0.5374 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3927, allocations: 41.94 kB / 0.5374 GB, free: 8.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3928, allocations: 321.3 kB / 0.5378 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/0.3935, allocations: 205.8 kB / 0.5379 GB, free: 7.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/0.3941, allocations: 205.4 kB / 0.5381 GB, free: 7.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.3954, allocations: 384.1 kB / 0.5385 GB, free: 7.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3954, allocations: 4 kB / 0.5385 GB, free: 7.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001401/0.3968, allocations: 463.5 kB / 0.539 GB, free: 7.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3969, allocations: 8.781 kB / 0.539 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3969, allocations: 1.281 kB / 0.539 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3969, allocations: 0 / 0.539 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.3974, allocations: 64.31 kB / 0.539 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3975, allocations: 5.031 kB / 0.539 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.3979, allocations: 36.45 kB / 0.5391 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.3979, allocations: 4.938 kB / 0.5391 GB, free: 7.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.000161/0.3981, allocations: 129.8 kB / 0.5392 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.3981, allocations: 7.344 kB / 0.5392 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.3996, allocations: 366.1 kB / 0.5396 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3996, allocations: 1.219 kB / 0.5396 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3996, allocations: 0 / 0.5396 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3996, allocations: 1.062 kB / 0.5396 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.4027, allocations: 0.7778 MB / 0.5403 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4027, allocations: 1.188 kB / 0.5403 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.4032, allocations: 69.11 kB / 0.5404 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.4032, allocations: 1.375 kB / 0.5404 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.4033, allocations: 3.531 kB / 0.5404 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.4033, allocations: 6.219 kB / 0.5404 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4033, allocations: 1.094 kB / 0.5404 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.4046, allocations: 425.2 kB / 0.5408 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.4047, allocations: 112.2 kB / 0.5409 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.4048, allocations: 2.031 kB / 0.5409 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.4052, allocations: 49.67 kB / 0.541 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.4052, allocations: 12.28 kB / 0.541 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.4053, allocations: 9.609 kB / 0.541 GB, free: 5.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.06e-05/0.4054, allocations: 98.75 kB / 0.5411 GB, free: 5.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4054, allocations: 0 / 0.5411 GB, free: 5.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000732/0.4061, allocations: 168.7 kB / 0.5412 GB, free: 5.586 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.002245/0.4084, allocations: 1.095 MB / 0.5423 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.4098, allocations: 384.2 kB / 0.5427 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4098, allocations: 1.031 kB / 0.5427 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.4104, allocations: 144.1 kB / 0.5428 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.4108, allocations: 26.05 kB / 0.5428 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/0.4178, allocations: 2.753 MB / 0.5455 GB, free: 1.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4181, allocations: 0.6963 MB / 0.5462 GB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.4184, allocations: 40.86 kB / 0.5462 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.4185, allocations: 47.39 kB / 0.5463 GB, free: 1.07 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4185, allocations: 0 / 0.5463 GB, free: 1.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.4516, allocations: 10.06 MB / 0.5561 GB, free: 7.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.333, allocations: 6.891 kB / 0.5561 GB, free: 7.129 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches