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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008273/0.0008273, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008565/0.0008565, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9092/0.9092, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2508/0.2508, allocations: 34.23 MB / 294.8 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.139e-05, allocations: 6.281 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001955/0.001976, allocations: 1.446 MB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1701/0.1721, allocations: 1.293 MB / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.1721, allocations: 0 / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1723, allocations: 33.94 kB / 444.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.1724, allocations: 45.27 kB / 445 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1727, allocations: 231.1 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.1728, allocations: 58.5 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.1728, allocations: 3.906 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.1729, allocations: 37.11 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.1729, allocations: 16.62 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1729, allocations: 6.031 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.1732, allocations: 269 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1732, allocations: 10.66 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.1732, allocations: 18.8 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1735, allocations: 306.5 kB / 445.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1735, allocations: 0 / 445.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1735, allocations: 0 / 445.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1735, allocations: 0 / 445.9 MB, free: 42.83 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.0003176/0.1738, allocations: 346.1 kB / 446.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1739, allocations: 8.656 kB / 446.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.905e-05/0.1739, allocations: 40.12 kB / 446.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.076e-05/0.1739, allocations: 12.23 kB / 446.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.455e-05/0.1739, allocations: 114.3 kB / 446.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.174, allocations: 2.875 kB / 446.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.174, allocations: 6.594 kB / 446.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.003e-05/0.1741, allocations: 68.11 kB / 446.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.1741, allocations: 4.125 kB / 446.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1741, allocations: 3.938 kB / 446.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1741, allocations: 2.938 kB / 446.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.759e-05/0.1741, allocations: 61.14 kB / 446.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.769e-05/0.1742, allocations: 155.2 kB / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.386e-05/0.1743, allocations: 56.47 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.1743, allocations: 38.7 kB / 446.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.1744, allocations: 20.52 kB / 446.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.1744, allocations: 35.88 kB / 446.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 6.51e-07/0.1744, allocations: 4 kB / 446.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.008653/0.183, allocations: 1.635 MB / 448.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.1831, allocations: 58.34 kB / 448.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.1831, allocations: 135.9 kB / 448.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1831, allocations: 25.7 kB / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.1832, allocations: 89.97 kB / 448.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1832, allocations: 44.78 kB / 448.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.1833, allocations: 44.61 kB / 448.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.173e-05/0.1833, allocations: 320.9 kB / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.1836, allocations: 205.4 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.1839, allocations: 203.4 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.1845, allocations: 391 kB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1845, allocations: 6.094 kB / 450 MB, free: 40.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006637/0.1851, allocations: 461.8 kB / 450.4 MB, free: 40.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1851, allocations: 5.594 kB / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1852, allocations: 0 / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1852, allocations: 0 / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.1854, allocations: 69.06 kB / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1854, allocations: 0 / 450.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.1856, allocations: 42.97 kB / 450.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1856, allocations: 9.281 kB / 450.6 MB, free: 40.64 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 6.213e-05/0.1857, allocations: 116.7 kB / 450.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.1857, allocations: 10.77 kB / 450.7 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006874/0.1864, allocations: 364 kB / 451.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1864, allocations: 2.938 kB / 451.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1864, allocations: 4 kB / 451.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1864, allocations: 3.938 kB / 451.1 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.1877, allocations: 0.7244 MB / 451.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1877, allocations: 0 / 451.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.1879, allocations: 65.47 kB / 451.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1879, allocations: 0 / 451.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.1879, allocations: 13.25 kB / 451.9 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1879, allocations: 2.688 kB / 451.9 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1879, allocations: 2.938 kB / 451.9 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/0.1885, allocations: 429.4 kB / 452.3 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.1886, allocations: 27.75 kB / 452.3 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1886, allocations: 10.05 kB / 452.3 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.1888, allocations: 43.78 kB / 452.4 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.1888, allocations: 12.84 kB / 452.4 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1888, allocations: 8.547 kB / 452.4 MB, free: 39.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.113e-05/0.1888, allocations: 100.8 kB / 452.5 MB, free: 39.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1888, allocations: 0 / 452.5 MB, free: 39.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.1892, allocations: 172.2 kB / 452.7 MB, free: 39.6 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.001071/0.1903, allocations: 1.127 MB / 453.8 MB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00063/0.1909, allocations: 351.9 kB / 454.1 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1909, allocations: 4 kB / 454.1 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.1912, allocations: 146.5 kB / 454.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.1915, allocations: 20.88 kB / 454.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.1946, allocations: 2.766 MB / 457.1 MB, free: 36.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.1947, allocations: 81.78 kB / 457.1 MB, free: 36.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.1948, allocations: 37.7 kB / 457.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1949, allocations: 35.72 kB / 457.2 MB, free: 36.79 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1949, allocations: 0 / 457.2 MB, free: 36.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.2178, allocations: 11.03 MB / 468.2 MB, free: 35.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/7.146, allocations: 7.031 kB / 468.2 MB, free: 35.25 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 9.107855144888163]