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.0009363/0.0009363, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001017/0.001017, allocations: 165 kB / 24.99 MB, free: 8.219 MB / 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.9224/0.9224, allocations: 177 MB / 205.2 MB, free: 5.562 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.232/0.232, allocations: 34.87 MB / 296.6 MB, free: 0.5469 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.293e-06/1.293e-06, allocations: 0 / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.433e-05, allocations: 2.312 kB / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001634/0.001649, allocations: 1.501 MB / 380.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.002917, allocations: 1.39 MB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.002954, allocations: 4 kB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.00309, allocations: 31.78 kB / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.003257, allocations: 47.62 kB / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.003557, allocations: 227 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.054e-05/0.003647, allocations: 63.64 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.003682, allocations: 4 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.003741, allocations: 27.97 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.00379, allocations: 19.92 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.003801, allocations: 0 / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.004156, allocations: 279.5 kB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.004168, allocations: 4 kB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.004194, allocations: 19.92 kB / 382.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.004505, allocations: 299.1 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004507, allocations: 0 / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004508, allocations: 4 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.004511, allocations: 0 / 382.6 MB, free: 14.49 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.0004175/0.004929, allocations: 443.8 kB / 383.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.00497, allocations: 12.03 kB / 383.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.00501, allocations: 16.88 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.608e-05/0.005096, allocations: 120.5 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.005106, allocations: 384 / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.005126, allocations: 8.375 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/0.005209, allocations: 46.25 kB / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.005216, allocations: 192 / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.005225, allocations: 8.125 kB / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.005231, allocations: 0 / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.005274, allocations: 23.97 kB / 383.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.005408, allocations: 144.5 kB / 383.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.127e-05/0.005459, allocations: 43 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.005491, allocations: 27.67 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.005536, allocations: 19.98 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.005554, allocations: 37.39 kB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 7.72e-07/0.005555, allocations: 0 / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.008581/0.01414, allocations: 1.322 MB / 384.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.01417, allocations: 51.41 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.0143, allocations: 197.3 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.01432, allocations: 29.7 kB / 385.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.01437, allocations: 130.8 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.01442, allocations: 47.62 kB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.0145, allocations: 55.23 kB / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01463, allocations: 0.4962 MB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.01479, allocations: 136 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.01493, allocations: 132 kB / 386.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.01522, allocations: 227.6 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.01522, allocations: 0 / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003547/0.01557, allocations: 314.5 kB / 386.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01559, allocations: 11.94 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.0156, allocations: 0 / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.01561, allocations: 4 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.01584, allocations: 55.88 kB / 386.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.01585, allocations: 0 / 386.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.016, allocations: 27.97 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01602, allocations: 12 kB / 386.8 MB, free: 10.11 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 8.705e-05/0.0161, allocations: 156.6 kB / 386.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.01613, allocations: 15.89 kB / 387 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.01647, allocations: 198.2 kB / 387.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01647, allocations: 4 kB / 387.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01648, allocations: 0 / 387.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01648, allocations: 3.984 kB / 387.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009508/0.01743, allocations: 0.5509 MB / 387.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.01743, allocations: 4 kB / 387.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.01762, allocations: 56.03 kB / 387.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01762, allocations: 0 / 387.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.01764, allocations: 8 kB / 387.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01764, allocations: 4 kB / 387.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.01764, allocations: 7.922 kB / 387.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.01793, allocations: 314.7 kB / 388.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.01798, allocations: 35.91 kB / 388.1 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.018, allocations: 8 kB / 388.1 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.01817, allocations: 27.97 kB / 388.2 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/0.01818, allocations: 11.97 kB / 388.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.0182, allocations: 8 kB / 388.2 MB, free: 8.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.01824, allocations: 147.1 kB / 388.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01824, allocations: 0 / 388.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.01861, allocations: 175.6 kB / 388.5 MB, free: 8.297 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.0004477/0.01906, allocations: 266.7 kB / 388.8 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.01937, allocations: 235.8 kB / 389 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01937, allocations: 0 / 389 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.856e-05/0.01947, allocations: 67.53 kB / 389.1 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.01968, allocations: 34.78 kB / 389.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.02083, allocations: 393.4 kB / 389.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.999e-05/0.02087, allocations: 63.34 kB / 389.5 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.02099, allocations: 48.69 kB / 389.6 MB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.99e-05/0.02109, allocations: 28.47 kB / 389.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02109, allocations: 0 / 389.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of Templates: time 0.008726/0.02982, allocations: 9.061 MB / 398.7 MB, free: 14.06 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.108835034072399]