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.001309/0.001309, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001506/0.001506, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.426/1.426, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2273/0.2273, allocations: 46.94 MB / 360.8 MB, free: 3.914 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="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 0.002286/0.002286, allocations: 79.88 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3145, allocations: 66.08 MB / 0.5607 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00274/0.3173, allocations: 1.436 MB / 0.5621 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.3192, allocations: 1.297 MB / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.3193, allocations: 0 / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.3194, allocations: 31.58 kB / 0.5634 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.3196, allocations: 47.69 kB / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.3201, allocations: 230 kB / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3202, allocations: 55.72 kB / 0.5637 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.3203, allocations: 4 kB / 0.5637 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.3203, allocations: 23.91 kB / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.3204, allocations: 27.86 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.3204, allocations: 0 / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.3209, allocations: 271.6 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.321, allocations: 15.92 kB / 0.564 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.321, allocations: 15.88 kB / 0.5641 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.3214, allocations: 269.2 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3214, allocations: 0 / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3214, allocations: 4 kB / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3214, allocations: 3.938 kB / 0.5643 GB, free: 276 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.0005369/0.3219, allocations: 345.5 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.322, allocations: 8.031 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.322, allocations: 34.75 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.3221, allocations: 4.891 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3222, allocations: 114.5 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3222, allocations: 4.375 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3222, allocations: 8.375 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3223, allocations: 65.61 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3223, allocations: 4 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3223, allocations: 4 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3224, allocations: 3.984 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.3225, allocations: 67.88 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.3227, allocations: 156.6 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.253e-05/0.3228, allocations: 50.56 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.3228, allocations: 44.83 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-05/0.3229, allocations: 19.94 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3229, allocations: 34.56 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3229, allocations: 0 / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02011/0.343, allocations: 1.642 MB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.3431, allocations: 51.41 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3432, allocations: 136.3 kB / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.3432, allocations: 25.7 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.3433, allocations: 100.1 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.3434, allocations: 35.66 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3435, allocations: 45.67 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3436, allocations: 318.8 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/0.3443, allocations: 211.8 kB / 0.5677 GB, free: 12.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.3449, allocations: 207.9 kB / 0.5679 GB, free: 12.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.3462, allocations: 392.7 kB / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3462, allocations: 0 / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001426/0.3476, allocations: 461.2 kB / 0.5687 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3476, allocations: 8 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3477, allocations: 0 / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3477, allocations: 0 / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.3482, allocations: 67.92 kB / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3482, allocations: 0 / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.3486, allocations: 43.97 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.3486, allocations: 7.984 kB / 0.5689 GB, free: 11.39 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.0001272/0.3488, allocations: 117.9 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.3488, allocations: 7.953 kB / 0.569 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.3502, allocations: 369.9 kB / 0.5693 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3502, allocations: 4 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3502, allocations: 4 kB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3502, allocations: 3.984 kB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.3532, allocations: 0.7223 MB / 0.5701 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3532, allocations: 4 kB / 0.5701 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.3537, allocations: 71.86 kB / 0.5701 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3537, allocations: 96 / 0.5701 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.3537, allocations: 8 kB / 0.5701 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.3537, allocations: 7.922 kB / 0.5701 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3537, allocations: 4 kB / 0.5702 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.355, allocations: 421.8 kB / 0.5706 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.3551, allocations: 31.91 kB / 0.5706 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.3551, allocations: 4 kB / 0.5706 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.3556, allocations: 44 kB / 0.5706 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.3556, allocations: 15.86 kB / 0.5706 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.3556, allocations: 11.98 kB / 0.5707 GB, free: 9.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.003e-05/0.3557, allocations: 95.27 kB / 0.5707 GB, free: 9.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3557, allocations: 0 / 0.5707 GB, free: 9.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005772/0.3563, allocations: 171.6 kB / 0.5709 GB, free: 9.195 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.002199/0.3585, allocations: 1.097 MB / 0.572 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3598, allocations: 359.7 kB / 0.5723 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3598, allocations: 0 / 0.5723 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.3604, allocations: 144 kB / 0.5725 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3608, allocations: 23.36 kB / 0.5725 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006968/0.3677, allocations: 2.774 MB / 0.5752 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.729e-05/0.3678, allocations: 79.89 kB / 0.5753 GB, free: 4.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.368, allocations: 44.86 kB / 0.5753 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.3682, allocations: 43.48 kB / 0.5754 GB, free: 4.492 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3682, allocations: 3.938 kB / 0.5754 GB, free: 4.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.4106, allocations: 10.87 MB / 0.586 GB, free: 9.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.13, allocations: 7.984 kB / 0.586 GB, free: 9.695 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: 13.955085951834917]