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.001456/0.001456, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001651/0.001651, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2169/0.2169, allocations: 46.92 MB / 361.6 MB, free: 4.199 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.002218/0.002218, allocations: 79.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3088, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002659/0.3114, allocations: 1.471 MB / 0.5629 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.3134, allocations: 1.465 MB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.3135, allocations: 4 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.3136, allocations: 27.64 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.3138, allocations: 51.69 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.3143, allocations: 223.1 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.3144, allocations: 59.72 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.3145, allocations: 4 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.3145, allocations: 27.86 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.3146, allocations: 27.86 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.3146, allocations: 0 / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.3152, allocations: 343.5 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.3152, allocations: 4 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.3153, allocations: 27.8 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.3157, allocations: 277.3 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3157, allocations: 7.984 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3157, allocations: 4 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.3157, allocations: 0 / 0.5654 GB, free: 316 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.0004985/0.3162, allocations: 345.5 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3162, allocations: 8.031 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.338e-05/0.3162, allocations: 4.188 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.3163, allocations: 34.75 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.3163, allocations: 8.891 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3164, allocations: 114.5 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.3164, allocations: 4.375 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3164, allocations: 12.12 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.3166, allocations: 77.53 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3166, allocations: 0 / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.3166, allocations: 0 / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3166, allocations: 0 / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.545e-05/0.3167, allocations: 59.97 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.3169, allocations: 164.6 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.161e-05/0.317, allocations: 58.56 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.317, allocations: 44.78 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.3171, allocations: 19.98 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3171, allocations: 34.5 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.3171, allocations: 0 / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02001/0.3371, allocations: 1.634 MB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3372, allocations: 55.39 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3373, allocations: 136.3 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.3373, allocations: 33.7 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.3374, allocations: 88.14 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.3374, allocations: 39.64 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3375, allocations: 45.69 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3377, allocations: 326.8 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000651/0.3383, allocations: 199.9 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.3389, allocations: 211.9 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.3402, allocations: 384.7 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3402, allocations: 0 / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001423/0.3417, allocations: 468.3 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3417, allocations: 10.03 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3417, allocations: 0 / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3417, allocations: 0 / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000542/0.3423, allocations: 63.94 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.3423, allocations: 0 / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.3427, allocations: 39.95 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.3427, allocations: 11.98 kB / 0.57 GB, free: 11.42 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.0001298/0.3428, allocations: 127 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.3429, allocations: 3.953 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.3443, allocations: 370 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3443, allocations: 4 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3443, allocations: 4 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3443, allocations: 0 / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.3472, allocations: 0.7573 MB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3472, allocations: 0 / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.3477, allocations: 71.95 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.3477, allocations: 8 kB / 0.5713 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.3477, allocations: 4 kB / 0.5713 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3477, allocations: 3.938 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3477, allocations: 0 / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3491, allocations: 429.8 kB / 0.5717 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.3492, allocations: 39.91 kB / 0.5717 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.3492, allocations: 4 kB / 0.5717 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.3497, allocations: 35.91 kB / 0.5718 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.3497, allocations: 15.98 kB / 0.5718 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.3497, allocations: 7.984 kB / 0.5718 GB, free: 9.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.629e-05/0.3498, allocations: 95.27 kB / 0.5719 GB, free: 9.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3498, allocations: 0 / 0.5719 GB, free: 9.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005592/0.3504, allocations: 175.6 kB / 0.5721 GB, free: 9.191 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.002182/0.3525, allocations: 1.097 MB / 0.5731 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.3539, allocations: 355.7 kB / 0.5735 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3539, allocations: 0 / 0.5735 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.3545, allocations: 148 kB / 0.5736 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.3548, allocations: 24.03 kB / 0.5736 GB, free: 7.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/0.3619, allocations: 2.776 MB / 0.5763 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3622, allocations: 0.6963 MB / 0.577 GB, free: 3.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.3623, allocations: 40.73 kB / 0.5771 GB, free: 3.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.3625, allocations: 39.41 kB / 0.5771 GB, free: 3.863 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3625, allocations: 0 / 0.5771 GB, free: 3.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.3956, allocations: 10.14 MB / 0.587 GB, free: 9.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.15, allocations: 7.922 kB / 0.587 GB, free: 9.824 MB / 430.1 MB " [Timeout remaining time 649] (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.002621199993882]