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.000976/0.000976, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001134/0.001134, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 0.9764/0.9764, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2453/0.2453, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] 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.643e-06/1.643e-06, allocations: 0 / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.5e-05, allocations: 6.312 kB / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003783/0.003808, allocations: 1.548 MB / 324.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.006177, allocations: 1.386 MB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.006241, allocations: 0 / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.006444, allocations: 31.67 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.006684, allocations: 51.73 kB / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.007304, allocations: 203 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.007438, allocations: 51.67 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.00748, allocations: 7.984 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.007566, allocations: 31.91 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.007636, allocations: 23.97 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.007649, allocations: 0 / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006618/0.008311, allocations: 307.5 kB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.008329, allocations: 11.94 kB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.008358, allocations: 16.55 kB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.008861, allocations: 299.2 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.008865, allocations: 0 / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.008866, allocations: 0 / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.008871, allocations: 0 / 327.2 MB, free: 5.703 MB / 298.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.0004779/0.009349, allocations: 321.4 kB / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.009388, allocations: 12.03 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.009419, allocations: 0.9375 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.009535, allocations: 129.7 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.009552, allocations: 8.312 kB / 327.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.009574, allocations: 4.375 kB / 327.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.009674, allocations: 49.06 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.009686, allocations: 8.125 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.009696, allocations: 4.125 kB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.009703, allocations: 4 kB / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.009746, allocations: 11.98 kB / 327.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.009895, allocations: 74.7 kB / 327.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.001e-05/0.009965, allocations: 42.56 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.009996, allocations: 16.86 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/0.01006, allocations: 20.73 kB / 327.9 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.01009, allocations: 38.56 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/0.01009, allocations: 0 / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.01188/0.02197, allocations: 1.199 MB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.02201, allocations: 55.41 kB / 329.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.02213, allocations: 142.6 kB / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.02215, allocations: 29.7 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.02219, allocations: 92.06 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.02224, allocations: 35.66 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.02234, allocations: 45.64 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.02242, allocations: 318.8 kB / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.02258, allocations: 102.8 kB / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.02271, allocations: 99.92 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.02295, allocations: 190.9 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.02296, allocations: 3.938 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002325/0.02319, allocations: 217.7 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.0232, allocations: 4 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.02321, allocations: 3.984 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.02322, allocations: 0 / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.02344, allocations: 51.94 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.02344, allocations: 7.938 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.02357, allocations: 31.91 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.02358, allocations: 0 / 330.5 MB, free: 2.195 MB / 298.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.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * 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.599e-05/0.02366, allocations: 117.8 kB / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.02368, allocations: 7.984 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.02395, allocations: 150.3 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.02395, allocations: 0 / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.02395, allocations: 0 / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.02395, allocations: 3.938 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007439/0.0247, allocations: 445 kB / 331.3 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.0247, allocations: 0 / 331.3 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.02487, allocations: 55.88 kB / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.02488, allocations: 0 / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.02489, allocations: 16.02 kB / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.0249, allocations: 4 kB / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.0249, allocations: 3.938 kB / 331.3 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.02511, allocations: 260.7 kB / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.02515, allocations: 23.89 kB / 331.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.02517, allocations: 3.938 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.02531, allocations: 31.97 kB / 331.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.02533, allocations: 11.98 kB / 331.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.02534, allocations: 4 kB / 331.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.014e-05/0.02536, allocations: 19.52 kB / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02536, allocations: 0 / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003756/0.02574, allocations: 171.6 kB / 331.8 MB, free: 0.8164 MB / 298.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.0004449/0.02618, allocations: 267.7 kB / 332.1 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.0264, allocations: 168.7 kB / 332.3 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.02641, allocations: 4 kB / 332.3 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.02648, allocations: 52.95 kB / 332.3 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.02667, allocations: 31.97 kB / 332.4 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.02769, allocations: 374.5 kB / 332.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.02773, allocations: 63.34 kB / 332.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.02784, allocations: 40.92 kB / 332.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.02802, allocations: 79.33 kB / 332.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02802, allocations: 0 / 332.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.01266/0.04068, allocations: 9.961 MB / 342.9 MB, free: 5.766 MB / 314.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 -s gbode -gbm=radauIIA3 -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","",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.038582853972912]