Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 75.7 kB / 21.69 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 166.3 kB / 24.99 MB, free: 9.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2661/0.2661, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.717e-05, allocations: 5.406 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.005173/0.00519, allocations: 1.5 MB / 379.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.007058, allocations: 1.386 MB / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.007102, allocations: 0 / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.007258, allocations: 35.72 kB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003227/0.01049, allocations: 51.75 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.01098, allocations: 223 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.0111, allocations: 63.64 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.01114, allocations: 0 / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-05/0.01121, allocations: 35.91 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.01126, allocations: 19.92 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.01127, allocations: 3.984 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004596/0.01173, allocations: 271.6 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.01175, allocations: 7.938 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.01178, allocations: 23.91 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.01216, allocations: 291.2 kB / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01216, allocations: 0 / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01217, allocations: 0 / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01217, allocations: 3.984 kB / 381.9 MB, free: 15.06 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.0004784/0.01265, allocations: 451.8 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.01269, allocations: 8.031 kB / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.01273, allocations: 12.89 kB / 382.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.01285, allocations: 120.5 kB / 382.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.01286, allocations: 4.375 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.01288, allocations: 8.312 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.01298, allocations: 46.25 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.01299, allocations: 192 / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.01301, allocations: 8.109 kB / 382.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.01302, allocations: 4 kB / 382.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/0.01307, allocations: 19.97 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.01324, allocations: 148.5 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.01332, allocations: 50.98 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.01336, allocations: 23.69 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.744e-05/0.01342, allocations: 19.98 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.01344, allocations: 33.39 kB / 382.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.01344, allocations: 0 / 382.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.008656/0.0221, allocations: 1.31 MB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.02213, allocations: 55.41 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.02222, allocations: 193.1 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.02224, allocations: 29.7 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.02229, allocations: 138.8 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.02233, allocations: 39.64 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.0224, allocations: 55.23 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.02251, allocations: 0.4923 MB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.02266, allocations: 139.9 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.02279, allocations: 140.5 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.02307, allocations: 234.8 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.02307, allocations: 0 / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003507/0.02342, allocations: 309.6 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.02343, allocations: 11.94 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.02344, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.02345, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.02368, allocations: 59.88 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.02368, allocations: 0 / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.02383, allocations: 27.97 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.02384, allocations: 12.16 kB / 386.1 MB, free: 10.68 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.772e-05/0.02393, allocations: 168.5 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.02396, allocations: 11.89 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.02429, allocations: 198.2 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.02429, allocations: 0 / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.02429, allocations: 3.938 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.0243, allocations: 4 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.0255, allocations: 0.5509 MB / 387 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.0255, allocations: 0 / 387 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.02568, allocations: 52.03 kB / 387 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.02568, allocations: 8 kB / 387.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.0257, allocations: 11.98 kB / 387.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.0257, allocations: 0 / 387.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.0257, allocations: 0 / 387.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.02599, allocations: 323 kB / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.02604, allocations: 35.91 kB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.02607, allocations: 0 / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.02623, allocations: 35.97 kB / 387.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.02625, allocations: 7.984 kB / 387.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.02626, allocations: 7.938 kB / 387.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.721e-05/0.02631, allocations: 147.2 kB / 387.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02631, allocations: 0 / 387.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004231/0.02673, allocations: 171.5 kB / 387.8 MB, free: 8.859 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.0004576/0.02719, allocations: 274.7 kB / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.0275, allocations: 223.6 kB / 388.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0275, allocations: 0 / 388.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.0276, allocations: 71.77 kB / 388.3 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.02781, allocations: 35.97 kB / 388.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.02898, allocations: 397.2 kB / 388.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.02902, allocations: 63.34 kB / 388.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.02913, allocations: 32.72 kB / 388.9 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.02924, allocations: 28.47 kB / 388.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02924, allocations: 0 / 388.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of Templates: time 0.008569/0.03781, allocations: 9.072 MB / 398 MB, free: 14.61 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.325977422995493]