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.001565/0.001565, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 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.001691/0.001691, allocations: 209.4 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.429/1.429, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2145/0.2145, allocations: 46.95 MB / 361.6 MB, free: 3.949 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 83.86 kB / 0.4969 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3153, allocations: 66.07 MB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002626/0.3179, allocations: 1.438 MB / 0.5628 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3199, allocations: 1.29 MB / 0.5641 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.32, allocations: 4 kB / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.3202, allocations: 39.58 kB / 0.5641 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.3204, allocations: 43.7 kB / 0.5642 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.3209, allocations: 226.5 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.321, allocations: 59.66 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.3211, allocations: 0 / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.3211, allocations: 27.92 kB / 0.5645 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.3212, allocations: 23.86 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.3212, allocations: 7.984 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.3217, allocations: 283.7 kB / 0.5648 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.3218, allocations: 7.938 kB / 0.5648 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.3218, allocations: 27.86 kB / 0.5648 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.3223, allocations: 261.2 kB / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3223, allocations: 0 / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3223, allocations: 4 kB / 0.5651 GB, free: 344 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3223, allocations: 0 / 0.5651 GB, free: 344 kB / 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.0006366/0.3229, allocations: 349.5 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.323, allocations: 12.03 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.533e-05/0.323, allocations: 4.125 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.323, allocations: 34.73 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.323, allocations: 8.891 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3232, allocations: 114.5 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3232, allocations: 4.375 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.3232, allocations: 12.06 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.3234, allocations: 65.66 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3234, allocations: 8 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3234, allocations: 4 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3234, allocations: 0 / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3235, allocations: 55.97 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.3237, allocations: 164.6 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.3238, allocations: 50.56 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.3239, allocations: 48.72 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/0.3239, allocations: 19.98 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.3239, allocations: 30.56 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 6.472e-06/0.3239, allocations: 4 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02124/0.3452, allocations: 1.634 MB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3452, allocations: 55.41 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3454, allocations: 134.1 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.3454, allocations: 25.7 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.3454, allocations: 92.14 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.3455, allocations: 39.64 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3456, allocations: 41.69 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3458, allocations: 326.8 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/0.3464, allocations: 203.9 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.3471, allocations: 211.2 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.3484, allocations: 392.6 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3484, allocations: 0 / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001453/0.3498, allocations: 457.4 kB / 0.5695 GB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3498, allocations: 8 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3498, allocations: 4 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3499, allocations: 0 / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.3504, allocations: 63.94 kB / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3504, allocations: 0 / 0.5696 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.3508, allocations: 47.95 kB / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.3508, allocations: 11.92 kB / 0.5696 GB, free: 11.45 MB / 414.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.000123/0.351, allocations: 119.1 kB / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.351, allocations: 7.953 kB / 0.5698 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.3524, allocations: 366 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3524, allocations: 4 kB / 0.5701 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3524, allocations: 3.938 kB / 0.5701 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3524, allocations: 4 kB / 0.5701 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.3552, allocations: 0.7222 MB / 0.5708 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3552, allocations: 8.094 kB / 0.5708 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004887/0.3557, allocations: 63.94 kB / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3557, allocations: 0 / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.3557, allocations: 7.984 kB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.3557, allocations: 11.94 kB / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3557, allocations: 0 / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.357, allocations: 421.8 kB / 0.5713 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.3571, allocations: 31.91 kB / 0.5713 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.3572, allocations: 4 kB / 0.5713 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.3576, allocations: 47.89 kB / 0.5714 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.3576, allocations: 7.984 kB / 0.5714 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.3577, allocations: 11.98 kB / 0.5714 GB, free: 9.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.673e-05/0.3577, allocations: 98.08 kB / 0.5715 GB, free: 9.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3577, allocations: 0 / 0.5715 GB, free: 9.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005898/0.3583, allocations: 171.6 kB / 0.5717 GB, free: 9.262 MB / 414.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.002226/0.3605, allocations: 1.105 MB / 0.5727 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3619, allocations: 363.7 kB / 0.5731 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3619, allocations: 0 / 0.5731 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.3625, allocations: 148 kB / 0.5732 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3628, allocations: 27.58 kB / 0.5733 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.3698, allocations: 2.761 MB / 0.576 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.853e-05/0.3699, allocations: 87.88 kB / 0.576 GB, free: 4.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.3701, allocations: 36.73 kB / 0.5761 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.3703, allocations: 39.41 kB / 0.5761 GB, free: 4.555 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3703, allocations: 0 / 0.5761 GB, free: 4.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.4017, allocations: 10.45 MB / 0.5863 GB, free: 10.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.37, allocations: 7.719 kB / 0.5863 GB, free: 10.2 MB / 430.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.313420498045161]