Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002602/0.002602, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00225/0.00225, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3552/0.3552, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.343e-05, allocations: 2.312 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003091/0.003125, allocations: 1.484 MB / 376.7 MB, free: 3.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.005515, allocations: 1.378 MB / 378.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.005559, allocations: 0 / 378.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.005736, allocations: 35.73 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.005962, allocations: 51.67 kB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.006558, allocations: 223 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.006691, allocations: 55.72 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.006732, allocations: 4 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.006817, allocations: 39.83 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.006889, allocations: 19.92 kB / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.006903, allocations: 0 / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007417/0.007644, allocations: 275.6 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.007662, allocations: 4 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.00771, allocations: 19.92 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006262/0.008337, allocations: 311 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.008342, allocations: 4 kB / 379.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.008344, allocations: 0 / 379.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.008351, allocations: 0 / 379.1 MB, free: 1.07 MB / 346.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.0008288/0.00918, allocations: 443.5 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.00922, allocations: 8.031 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.009277, allocations: 8.891 kB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.009434, allocations: 120.5 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.009451, allocations: 8.375 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.009474, allocations: 384 / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.009619, allocations: 46.25 kB / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.009637, allocations: 8.188 kB / 379.8 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.009654, allocations: 8.125 kB / 379.8 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.009658, allocations: 0 / 379.8 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.738e-05/0.009756, allocations: 35.91 kB / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.01001, allocations: 136.5 kB / 380 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.01011, allocations: 51.05 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.01017, allocations: 31.67 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.01023, allocations: 16 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.01027, allocations: 37.38 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 3.607e-06/0.01027, allocations: 3.984 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.02117/0.03145, allocations: 1.461 MB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.0315, allocations: 51.41 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.03169, allocations: 194.1 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.03173, allocations: 29.7 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.03182, allocations: 138.8 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.0319, allocations: 39.69 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.03202, allocations: 55.34 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002677/0.03229, allocations: 0.4923 MB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/0.03293, allocations: 191.9 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.03356, allocations: 203.9 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.03478, allocations: 338.5 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.03479, allocations: 0 / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001429/0.03621, allocations: 437.4 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.03625, allocations: 11.94 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.03625, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.03628, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.03678, allocations: 59.94 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.03679, allocations: 0 / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.03717, allocations: 31.97 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.03719, allocations: 8 kB / 383.8 MB, free: 12.19 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.0001571/0.03735, allocations: 164.6 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.03741, allocations: 15.89 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.03879, allocations: 322.1 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.03879, allocations: 0 / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.03879, allocations: 0 / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.0388, allocations: 3.938 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/0.04155, allocations: 0.6797 MB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.04156, allocations: 4 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.04203, allocations: 51.94 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.04203, allocations: 0 / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.04206, allocations: 15.92 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.04207, allocations: 8.094 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.04207, allocations: 0 / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.04343, allocations: 446.7 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.04354, allocations: 23.91 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.04358, allocations: 8 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.044, allocations: 23.97 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.04403, allocations: 19.92 kB / 385.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.04406, allocations: 11.98 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.04418, allocations: 141.4 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04418, allocations: 0 / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007969/0.04497, allocations: 171.6 kB / 385.9 MB, free: 10.01 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.0007668/0.04574, allocations: 270.7 kB / 386.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.04705, allocations: 347.5 kB / 386.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.04706, allocations: 0 / 386.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.04764, allocations: 135.7 kB / 386.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.04798, allocations: 39.91 kB / 386.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.05046, allocations: 449.2 kB / 387.1 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.05056, allocations: 79.27 kB / 387.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.05077, allocations: 48.97 kB / 387.2 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.05093, allocations: 28.47 kB / 387.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.05093, allocations: 0 / 387.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of Templates: time 0.01731/0.06824, allocations: 9.073 MB / 396.3 MB, free: 15.49 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.36404686793685]