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.001044/0.001044, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009457/0.0009457, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.96/0.96, allocations: 177 MB / 204.8 MB, free: 5.582 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.2558/0.2558, allocations: 34.87 MB / 296.3 MB, free: 0.5625 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: 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 1.804e-06/1.804e-06, allocations: 0 / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.757e-05, allocations: 4.141 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002791/0.002819, allocations: 1.5 MB / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.005018, allocations: 1.386 MB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.005073, allocations: 0 / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.00527, allocations: 35.7 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.005488, allocations: 43.7 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.005867, allocations: 234.9 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.872e-05/0.005966, allocations: 47.73 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.006, allocations: 7.984 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.00606, allocations: 31.91 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.006118, allocations: 19.92 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.006129, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.006505, allocations: 283.5 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.006517, allocations: 3.984 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.006543, allocations: 15.94 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.006857, allocations: 303.1 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006859, allocations: 0 / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006859, allocations: 0 / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006864, allocations: 3.938 kB / 382.7 MB, free: 14.18 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.0004166/0.00728, allocations: 447.8 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.007315, allocations: 12.03 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.007355, allocations: 12.89 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.085e-05/0.007446, allocations: 122.8 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.007457, allocations: 384 / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.007477, allocations: 4.375 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.898e-05/0.007576, allocations: 54.22 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.007585, allocations: 192 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.007595, allocations: 8.125 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.007602, allocations: 0 / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.007643, allocations: 23.92 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.007795, allocations: 144.5 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.726e-05/0.007852, allocations: 43.05 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.007887, allocations: 27.67 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/0.007935, allocations: 16 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.007957, allocations: 41.39 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 7.71e-07/0.007957, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.008051/0.01601, allocations: 1.314 MB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.01604, allocations: 55.34 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.01614, allocations: 201.9 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.01616, allocations: 25.7 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.0162, allocations: 134.8 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.01623, allocations: 39.62 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.0163, allocations: 59.3 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01641, allocations: 0.4923 MB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.01654, allocations: 132 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.01667, allocations: 135.2 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.01693, allocations: 235.6 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.01694, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004557/0.01739, allocations: 318.5 kB / 386.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.01741, allocations: 11.88 kB / 386.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01741, allocations: 0 / 386.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.01743, allocations: 4 kB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.01765, allocations: 51.95 kB / 386.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.01766, allocations: 0 / 386.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.0178, allocations: 23.97 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.01781, allocations: 7.984 kB / 386.8 MB, free: 9.809 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 7.549e-05/0.01789, allocations: 160.6 kB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.01792, allocations: 23.89 kB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.01824, allocations: 194.2 kB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01825, allocations: 4 kB / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01825, allocations: 0 / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01825, allocations: 0 / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.01915, allocations: 0.5625 MB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01916, allocations: 4 kB / 387.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.01934, allocations: 47.95 kB / 387.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01934, allocations: 0 / 387.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.01936, allocations: 7.984 kB / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01936, allocations: 12.03 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01936, allocations: 0 / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.01963, allocations: 318.7 kB / 388.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.01968, allocations: 31.91 kB / 388.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.01971, allocations: 8 kB / 388.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.01986, allocations: 31.97 kB / 388.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.01988, allocations: 11.92 kB / 388.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.01989, allocations: 11.98 kB / 388.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.844e-05/0.01994, allocations: 141.4 kB / 388.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01994, allocations: 0 / 388.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003805/0.02032, allocations: 171.6 kB / 388.5 MB, free: 7.988 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.0004478/0.02077, allocations: 266.7 kB / 388.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.02107, allocations: 223.9 kB / 389 MB, free: 7.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.02107, allocations: 4 kB / 389 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.02117, allocations: 67.58 kB / 389.1 MB, free: 7.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.02138, allocations: 42.91 kB / 389.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.02249, allocations: 397.2 kB / 389.5 MB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.475e-05/0.02253, allocations: 63.34 kB / 389.6 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.02263, allocations: 40.66 kB / 389.6 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.02274, allocations: 28.47 kB / 389.6 MB, free: 6.801 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.02274, allocations: 0 / 389.6 MB, free: 6.801 MB / 362.7 MB Notification: Performance of Templates: time 0.01087/0.03361, allocations: 10.07 MB / 399.7 MB, free: 12.75 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.052944899071008]