Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009849/0.0009849, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009338/0.0009338, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9016/0.9016, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2576/0.2576, allocations: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.09e-05, allocations: 8.609 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001781/0.001802, allocations: 1.442 MB / 443.6 MB, free: 220 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.17/0.1718, allocations: 1.291 MB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.1718, allocations: 0 / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.172, allocations: 25.98 kB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1722, allocations: 51.58 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1725, allocations: 229.3 kB / 445.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.849e-05/0.1726, allocations: 62.33 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.1726, allocations: 5.672 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.923e-05/0.1727, allocations: 34.98 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.1727, allocations: 11.64 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1727, allocations: 6.719 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.1731, allocations: 277.9 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.1731, allocations: 6.781 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.1731, allocations: 17.73 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1734, allocations: 309.7 kB / 445.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1734, allocations: 0 / 445.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1734, allocations: 0 / 445.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1734, allocations: 0 / 445.9 MB, free: 42.89 MB / 410.7 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.0003719/0.1738, allocations: 343.9 kB / 446.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1738, allocations: 8.781 kB / 446.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.441e-05/0.1738, allocations: 34.44 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.1739, allocations: 7.641 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.941e-05/0.1739, allocations: 115.4 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.174, allocations: 11 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.174, allocations: 6.688 kB / 446.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1741, allocations: 60.94 kB / 446.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1741, allocations: 192 / 446.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1741, allocations: 11.62 kB / 446.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1741, allocations: 3.938 kB / 446.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.1742, allocations: 62.55 kB / 446.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.1743, allocations: 155.5 kB / 446.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/0.1744, allocations: 57.69 kB / 446.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.1744, allocations: 36.05 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.1744, allocations: 23.52 kB / 446.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.1745, allocations: 34.38 kB / 446.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1745, allocations: 0 / 446.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.009635/0.1841, allocations: 1.632 MB / 448.5 MB, free: 41.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1841, allocations: 54.22 kB / 448.6 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.1842, allocations: 134.3 kB / 448.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1842, allocations: 32.58 kB / 448.7 MB, free: 41.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.1843, allocations: 89.95 kB / 448.8 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.1843, allocations: 44.53 kB / 448.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.1844, allocations: 43.67 kB / 448.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.1844, allocations: 320.9 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.1848, allocations: 203 kB / 449.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.1851, allocations: 207.3 kB / 449.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.1857, allocations: 390.8 kB / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1857, allocations: 0 / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006881/0.1864, allocations: 469 kB / 450.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1864, allocations: 11.75 kB / 450.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1864, allocations: 0 / 450.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1864, allocations: 3.469 kB / 450.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1867, allocations: 64.56 kB / 450.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1867, allocations: 2.875 kB / 450.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.1869, allocations: 40.45 kB / 450.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1869, allocations: 12.98 kB / 450.6 MB, free: 40.73 MB / 410.7 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 8.288e-05/0.187, allocations: 114.1 kB / 450.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.187, allocations: 17.61 kB / 450.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008082/0.1878, allocations: 362.3 kB / 451.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1878, allocations: 6.844 kB / 451.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.1878, allocations: 0 / 451.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1878, allocations: 0 / 451.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.1894, allocations: 0.7238 MB / 451.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.1894, allocations: 2.766 kB / 451.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.1897, allocations: 62.88 kB / 451.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1897, allocations: 11.88 kB / 451.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.1897, allocations: 13 kB / 451.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1897, allocations: 2.344 kB / 451.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1897, allocations: 2.844 kB / 451.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.1904, allocations: 420.2 kB / 452.3 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.1905, allocations: 23.2 kB / 452.3 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.1905, allocations: 10.23 kB / 452.3 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.1907, allocations: 39.7 kB / 452.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.1907, allocations: 18 kB / 452.4 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1907, allocations: 11.69 kB / 452.4 MB, free: 39.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.34e-05/0.1908, allocations: 94.7 kB / 452.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1908, allocations: 0 / 452.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005013/0.1913, allocations: 175.5 kB / 452.7 MB, free: 39.7 MB / 410.7 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.001175/0.1924, allocations: 1.116 MB / 453.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006903/0.1931, allocations: 358.4 kB / 454.1 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1931, allocations: 0 / 454.1 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.1934, allocations: 144.9 kB / 454.3 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.1937, allocations: 20.84 kB / 454.3 MB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.197, allocations: 2.773 MB / 457.1 MB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.315e-05/0.197, allocations: 85.56 kB / 457.2 MB, free: 36.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.1971, allocations: 42.25 kB / 457.2 MB, free: 36.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1973, allocations: 38.41 kB / 457.2 MB, free: 36.87 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1973, allocations: 0 / 457.2 MB, free: 36.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.2201, allocations: 11.02 MB / 468.3 MB, free: 35.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.826/7.046, allocations: 7.062 kB / 468.3 MB, free: 35.33 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.993384206667542]