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.001796/0.001796, allocations: 118.2 kB / 17.78 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.002037/0.002037, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 75.88 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3026, allocations: 62.44 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002602/0.3053, allocations: 1.469 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3074, allocations: 1.441 MB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.3074, allocations: 0 / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.3076, allocations: 34.89 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.3078, allocations: 38.3 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.3083, allocations: 235.1 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.3084, allocations: 60.33 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.3084, allocations: 4.125 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.3085, allocations: 22.92 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.3085, allocations: 26.86 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3086, allocations: 1.375 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005953/0.3092, allocations: 342.8 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.3092, allocations: 14.67 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.3092, allocations: 25.44 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.3097, allocations: 275.9 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3097, allocations: 0 / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3097, allocations: 1.375 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3097, allocations: 0 / 0.5345 GB, free: 10.38 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.0005723/0.3103, allocations: 426.4 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3103, allocations: 9.625 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.3103, allocations: 32.12 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.3104, allocations: 15.56 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.3106, allocations: 172.2 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3106, allocations: 7.062 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.3106, allocations: 2.969 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3107, allocations: 75.09 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3108, allocations: 0 / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.3108, allocations: 0.8125 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3108, allocations: 1.062 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.3109, allocations: 57.88 kB / 0.5353 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.3111, allocations: 193.2 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3112, allocations: 61.73 kB / 0.5355 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.3113, allocations: 44.22 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.3113, allocations: 19.81 kB / 0.5356 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3114, allocations: 35.81 kB / 0.5356 GB, free: 9.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3114, allocations: 0 / 0.5356 GB, free: 9.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02038/0.3318, allocations: 1.626 MB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.3318, allocations: 53.47 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.332, allocations: 140.6 kB / 0.5374 GB, free: 8.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.332, allocations: 30.52 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.3321, allocations: 93.77 kB / 0.5375 GB, free: 8.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.3322, allocations: 39.61 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3323, allocations: 47.06 kB / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.3325, allocations: 321.1 kB / 0.5379 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.3332, allocations: 201.6 kB / 0.5381 GB, free: 7.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.3338, allocations: 205.2 kB / 0.5383 GB, free: 7.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.3351, allocations: 387.1 kB / 0.5386 GB, free: 7.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3351, allocations: 0 / 0.5386 GB, free: 7.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001456/0.3366, allocations: 451.7 kB / 0.5391 GB, free: 7.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3366, allocations: 11.23 kB / 0.5391 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.3366, allocations: 0 / 0.5391 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3367, allocations: 1.219 kB / 0.5391 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.3372, allocations: 67.62 kB / 0.5391 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3372, allocations: 1.094 kB / 0.5391 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.3377, allocations: 40.52 kB / 0.5392 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.3377, allocations: 5.906 kB / 0.5392 GB, free: 7.027 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.0001252/0.3378, allocations: 128.7 kB / 0.5393 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.3379, allocations: 7.359 kB / 0.5393 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.3393, allocations: 370.7 kB / 0.5397 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3393, allocations: 5.547 kB / 0.5397 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3393, allocations: 0 / 0.5397 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3394, allocations: 0 / 0.5397 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.3423, allocations: 0.7787 MB / 0.5404 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3423, allocations: 1.375 kB / 0.5404 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.3428, allocations: 68.91 kB / 0.5405 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3428, allocations: 1.219 kB / 0.5405 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.3428, allocations: 7.422 kB / 0.5405 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.3429, allocations: 6.281 kB / 0.5405 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3429, allocations: 1.219 kB / 0.5405 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.3442, allocations: 426.1 kB / 0.5409 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3443, allocations: 103.6 kB / 0.541 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.3444, allocations: 5.281 kB / 0.541 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.3448, allocations: 45.75 kB / 0.5411 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.3449, allocations: 16.86 kB / 0.5411 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3449, allocations: 9.797 kB / 0.5411 GB, free: 5.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.816e-05/0.345, allocations: 95.08 kB / 0.5412 GB, free: 5.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.345, allocations: 0 / 0.5412 GB, free: 5.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005636/0.3456, allocations: 171.7 kB / 0.5414 GB, free: 5.512 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.002172/0.3477, allocations: 1.092 MB / 0.5424 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3491, allocations: 391.2 kB / 0.5428 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3491, allocations: 4 kB / 0.5428 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.3497, allocations: 144.8 kB / 0.5429 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3501, allocations: 26.66 kB / 0.543 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007078/0.3572, allocations: 2.759 MB / 0.5457 GB, free: 1.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3575, allocations: 0.6963 MB / 0.5463 GB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.3577, allocations: 36.73 kB / 0.5464 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.3579, allocations: 39.41 kB / 0.5464 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3579, allocations: 0 / 0.5464 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04286/0.4008, allocations: 9.939 MB / 0.5561 GB, free: 7.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.691/9.092, allocations: 4.734 kB / 0.5561 GB, free: 7.145 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