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: 91.5 kB / 21.2 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.0009182/0.0009182, allocations: 160.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.9774/0.9774, allocations: 177 MB / 204.8 MB, free: 5.559 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.2553/0.2553, allocations: 34.86 MB / 296.3 MB, free: 480 kB / 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.874e-06/1.874e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.251e-05, allocations: 6.875 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001904/0.001927, allocations: 1.497 MB / 380.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.003411, allocations: 1.39 MB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.00345, allocations: 4 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.003614, allocations: 35.67 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.003807, allocations: 43.73 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.004169, allocations: 230.9 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.004272, allocations: 55.72 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.004314, allocations: 8 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.004382, allocations: 35.89 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.004443, allocations: 19.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.004457, allocations: 0 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.004886, allocations: 279.5 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.0049, allocations: 7.938 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.004929, allocations: 19.92 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.005259, allocations: 295.2 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005261, allocations: 0 / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005261, allocations: 4 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.005265, allocations: 0 / 382.7 MB, free: 14.11 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.0004324/0.005697, allocations: 447.8 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.005736, allocations: 12.03 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.005776, allocations: 12.89 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.49e-05/0.005861, allocations: 112.6 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.005871, allocations: 4.312 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.005894, allocations: 4.375 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.156e-05/0.005986, allocations: 54.23 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.005995, allocations: 192 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.006005, allocations: 8.125 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.006012, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.006052, allocations: 19.98 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.006197, allocations: 148.5 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/0.006257, allocations: 50.98 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.00629, allocations: 19.69 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.006341, allocations: 19.98 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.00636, allocations: 37.39 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.006362, allocations: 3.984 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.008305/0.01467, allocations: 1.314 MB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.0147, allocations: 51.41 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.0148, allocations: 196.9 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.01482, allocations: 29.7 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.01486, allocations: 139 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.0149, allocations: 47.62 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.01497, allocations: 51.3 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.01509, allocations: 0.4884 MB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.01523, allocations: 140 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.01537, allocations: 132 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.01565, allocations: 231.5 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01565, allocations: 0 / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003613/0.01601, allocations: 314.5 kB / 386.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.01603, allocations: 15.92 kB / 386.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.01604, allocations: 4 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01605, allocations: 0 / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.01628, allocations: 47.95 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01629, allocations: 3.938 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.01643, allocations: 27.97 kB / 386.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.01645, allocations: 15.98 kB / 386.8 MB, free: 9.73 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 9.179e-05/0.01654, allocations: 156.6 kB / 387 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.01658, allocations: 15.89 kB / 387 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.01692, allocations: 190.4 kB / 387.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01692, allocations: 8 kB / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01692, allocations: 0 / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01693, allocations: 0 / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.01789, allocations: 0.5586 MB / 387.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.01789, allocations: 4 kB / 387.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.01808, allocations: 52.05 kB / 387.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01808, allocations: 3.984 kB / 387.8 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.0181, allocations: 7.984 kB / 387.8 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.0181, allocations: 4 kB / 387.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0181, allocations: 0 / 387.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.01841, allocations: 330.7 kB / 388.1 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.01846, allocations: 27.91 kB / 388.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.01849, allocations: 12 kB / 388.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.01865, allocations: 27.97 kB / 388.2 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.01867, allocations: 7.984 kB / 388.2 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.01868, allocations: 11.98 kB / 388.2 MB, free: 8.227 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.01873, allocations: 139.2 kB / 388.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01873, allocations: 0 / 388.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000373/0.01911, allocations: 171.6 kB / 388.5 MB, free: 7.922 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.0004693/0.01958, allocations: 274.6 kB / 388.8 MB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.0199, allocations: 227.5 kB / 389 MB, free: 7.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0199, allocations: 0 / 389 MB, free: 7.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.02, allocations: 67.58 kB / 389.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.02022, allocations: 34.78 kB / 389.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.0214, allocations: 393.4 kB / 389.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/0.02144, allocations: 63.34 kB / 389.6 MB, free: 6.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.02155, allocations: 40.7 kB / 389.6 MB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.02166, allocations: 36.41 kB / 389.6 MB, free: 6.73 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02166, allocations: 0 / 389.6 MB, free: 6.73 MB / 362.7 MB Notification: Performance of Templates: time 0.009009/0.03067, allocations: 9.063 MB / 398.7 MB, free: 13.68 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.398636416066438]