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.001849/0.001849, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002144/0.002144, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.571/1.571, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3551/0.3551, allocations: 34.24 MB / 295.2 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 3.938 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.221e-05/4.472e-05, allocations: 8.781 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.004289/0.004334, allocations: 1.446 MB / 378.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.007677, allocations: 1.3 MB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.925e-05/0.007747, allocations: 0 / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.007992, allocations: 35.72 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.008303, allocations: 47.69 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008957/0.009198, allocations: 223 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.009369, allocations: 55.66 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.009427, allocations: 11.98 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.009532, allocations: 31.91 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.009614, allocations: 19.92 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.009628, allocations: 0 / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008517/0.01048, allocations: 279.6 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.0105, allocations: 7.938 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.01056, allocations: 19.92 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008138/0.01137, allocations: 299.1 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01138, allocations: 0 / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01138, allocations: 0 / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.01138, allocations: 0 / 381 MB, free: 15.12 MB / 362.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.0007895/0.01217, allocations: 337.6 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.01222, allocations: 15.97 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.01229, allocations: 16.83 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.01247, allocations: 117.7 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.01249, allocations: 8.359 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.01252, allocations: 384 / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.01272, allocations: 70.23 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.01273, allocations: 192 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.01275, allocations: 4.125 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.01276, allocations: 4 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.01294, allocations: 63.89 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.0132, allocations: 133.2 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.01335, allocations: 54.55 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.01346, allocations: 44.84 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.462e-05/0.01354, allocations: 19.98 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.01359, allocations: 34.56 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.01359, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.02798/0.04157, allocations: 1.634 MB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.04164, allocations: 51.41 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.04187, allocations: 136.3 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.04192, allocations: 33.58 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.04202, allocations: 92.09 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/0.04212, allocations: 35.69 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.04229, allocations: 41.69 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.04252, allocations: 322.8 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.04353, allocations: 207.9 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009846/0.04451, allocations: 203.9 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.04653, allocations: 393.6 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.04654, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002234/0.04877, allocations: 468.8 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.04881, allocations: 7.938 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.04882, allocations: 0 / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.27e-05/0.04885, allocations: 4 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/0.04958, allocations: 67.88 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.0496, allocations: 4 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.05018, allocations: 39.95 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.05023, allocations: 7.984 kB / 385.6 MB, free: 10.32 MB / 362.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 0.0002069/0.05043, allocations: 117.8 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.05053, allocations: 15.89 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.0522, allocations: 374 kB / 386.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.05221, allocations: 4 kB / 386.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.05222, allocations: 0 / 386.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.05222, allocations: 0 / 386.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.05568, allocations: 0.7033 MB / 386.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.05568, allocations: 0 / 386.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.05618, allocations: 64.03 kB / 386.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.05619, allocations: 4 kB / 386.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.05622, allocations: 7.984 kB / 386.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.05622, allocations: 0 / 386.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.05623, allocations: 7.938 kB / 386.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.05772, allocations: 429.8 kB / 387.3 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.05783, allocations: 31.91 kB / 387.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.05787, allocations: 7.938 kB / 387.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.05834, allocations: 39.95 kB / 387.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.05838, allocations: 15.92 kB / 387.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.05842, allocations: 8 kB / 387.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.62e-05/0.05851, allocations: 95.27 kB / 387.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05851, allocations: 0 / 387.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007282/0.05924, allocations: 175.6 kB / 387.6 MB, free: 8.156 MB / 362.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.0009225/0.06016, allocations: 262.7 kB / 387.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.06163, allocations: 359.7 kB / 388.3 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.06163, allocations: 0 / 388.3 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.06227, allocations: 144 kB / 388.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.06275, allocations: 36.12 kB / 388.4 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.06562, allocations: 0.5026 MB / 388.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.06573, allocations: 75.33 kB / 389 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.06595, allocations: 48.97 kB / 389.1 MB, free: 6.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.06612, allocations: 24.42 kB / 389.1 MB, free: 6.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.06612, allocations: 4 kB / 389.1 MB, free: 6.656 MB / 362.7 MB Notification: Performance of Templates: time 0.0186/0.08472, allocations: 8.943 MB / 398 MB, free: 13.71 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] 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: 5.281520101008937]