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.001386/0.001386, allocations: 117.7 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 199.8 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 75.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3283, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002448/0.3308, allocations: 1.465 MB / 0.5319 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3326, allocations: 1.442 MB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.3327, allocations: 0 / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.3329, allocations: 31.55 kB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.3331, allocations: 44.8 kB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.3338, allocations: 230.3 kB / 0.5336 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3339, allocations: 52.47 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.334, allocations: 8.125 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.334, allocations: 20.3 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.746e-05/0.3341, allocations: 29.47 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3342, allocations: 1.375 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008249/0.335, allocations: 339.9 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.335, allocations: 9.188 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.3351, allocations: 34.7 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.3357, allocations: 280.2 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3357, allocations: 0 / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3357, allocations: 0 / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3357, allocations: 0 / 0.5344 GB, free: 10.47 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.0005603/0.3363, allocations: 412.2 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3364, allocations: 13.77 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.3364, allocations: 32.12 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.3364, allocations: 7.594 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3366, allocations: 182.6 kB / 0.535 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3366, allocations: 9.422 kB / 0.535 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.3366, allocations: 7.812 kB / 0.535 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3368, allocations: 71.64 kB / 0.5351 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3368, allocations: 0 / 0.5351 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.3368, allocations: 0 / 0.5351 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3368, allocations: 1.062 kB / 0.5351 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/0.3369, allocations: 58.53 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.3371, allocations: 189.5 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.434e-05/0.3373, allocations: 61.38 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.94e-05/0.3373, allocations: 44.91 kB / 0.5354 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-05/0.3374, allocations: 27.02 kB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3374, allocations: 35.75 kB / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.3374, allocations: 0 / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02024/0.3577, allocations: 1.618 MB / 0.5371 GB, free: 8.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.3578, allocations: 52.59 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3579, allocations: 139.1 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.358, allocations: 33.7 kB / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.358, allocations: 85.55 kB / 0.5374 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.492e-05/0.3581, allocations: 44.7 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3582, allocations: 42.56 kB / 0.5374 GB, free: 8.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3583, allocations: 320.1 kB / 0.5378 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.359, allocations: 201.8 kB / 0.5379 GB, free: 7.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/0.3597, allocations: 209.4 kB / 0.5381 GB, free: 7.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3611, allocations: 387.7 kB / 0.5385 GB, free: 7.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3611, allocations: 0 / 0.5385 GB, free: 7.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001447/0.3626, allocations: 460.1 kB / 0.539 GB, free: 7.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3626, allocations: 5.375 kB / 0.539 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3626, allocations: 0 / 0.539 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3626, allocations: 1.406 kB / 0.539 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.3632, allocations: 64.03 kB / 0.539 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3632, allocations: 0 / 0.539 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.3637, allocations: 40.77 kB / 0.5391 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.3637, allocations: 10.05 kB / 0.5391 GB, free: 7.117 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.0001387/0.3639, allocations: 124.8 kB / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.3639, allocations: 6.938 kB / 0.5392 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.3654, allocations: 366.8 kB / 0.5395 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.3654, allocations: 5.469 kB / 0.5395 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3654, allocations: 0 / 0.5395 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3655, allocations: 1.531 kB / 0.5395 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.3686, allocations: 0.7771 MB / 0.5403 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3686, allocations: 1.312 kB / 0.5403 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.3691, allocations: 72.55 kB / 0.5404 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3691, allocations: 2.219 kB / 0.5404 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.3692, allocations: 3.312 kB / 0.5404 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.3692, allocations: 6.031 kB / 0.5404 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3692, allocations: 5.391 kB / 0.5404 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.3705, allocations: 421 kB / 0.5408 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3707, allocations: 112.5 kB / 0.5409 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.3707, allocations: 6.031 kB / 0.5409 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.3712, allocations: 45.11 kB / 0.541 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.3712, allocations: 16.44 kB / 0.541 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3712, allocations: 9.672 kB / 0.541 GB, free: 5.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.979e-05/0.3713, allocations: 96.75 kB / 0.5411 GB, free: 5.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3713, allocations: 0 / 0.5411 GB, free: 5.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006946/0.372, allocations: 168.5 kB / 0.5412 GB, free: 5.605 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.002489/0.3745, allocations: 1.093 MB / 0.5423 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.3759, allocations: 384.4 kB / 0.5427 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.376, allocations: 0 / 0.5427 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006256/0.3766, allocations: 148.4 kB / 0.5428 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.377, allocations: 25.89 kB / 0.5428 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007092/0.3841, allocations: 2.747 MB / 0.5455 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.3844, allocations: 0.6963 MB / 0.5462 GB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.3846, allocations: 44.86 kB / 0.5462 GB, free: 1.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.3848, allocations: 43.39 kB / 0.5463 GB, free: 1.094 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3848, allocations: 0 / 0.5463 GB, free: 1.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.4148, allocations: 10.07 MB / 0.5561 GB, free: 7.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.412, allocations: 4.062 kB / 0.5561 GB, free: 7.148 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