Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001143/0.001143, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001021/0.001021, allocations: 173.4 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8547/0.8547, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1491/0.1491, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.177e-05, allocations: 2.312 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001654/0.001675, allocations: 1.489 MB / 349.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.002857, allocations: 1.379 MB / 351 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.002904, allocations: 0 / 351 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.003054, allocations: 27.78 kB / 351 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.003233, allocations: 51.62 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.003596, allocations: 227 kB / 351.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.003676, allocations: 59.64 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.983e-05/0.003706, allocations: 4 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.003757, allocations: 35.84 kB / 351.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.003798, allocations: 19.92 kB / 351.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.003805, allocations: 4 kB / 351.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.004122, allocations: 263.7 kB / 351.7 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.004137, allocations: 11.94 kB / 351.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.004157, allocations: 15.94 kB / 351.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.004484, allocations: 303.1 kB / 352 MB, free: 5.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.004487, allocations: 0 / 352 MB, free: 5.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004488, allocations: 0 / 352 MB, free: 5.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.004492, allocations: 3.938 kB / 352 MB, free: 5.277 MB / 282.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.0003566/0.004849, allocations: 439.9 kB / 352.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.004889, allocations: 16.02 kB / 352.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.00492, allocations: 8.891 kB / 352.5 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.075e-05/0.00498, allocations: 128.4 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.004991, allocations: 4.375 kB / 352.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.005006, allocations: 4.375 kB / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.115e-05/0.005077, allocations: 46.25 kB / 352.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005085, allocations: 192 / 352.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-06/0.005092, allocations: 4.125 kB / 352.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.005097, allocations: 0 / 352.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.152e-05/0.005129, allocations: 23.91 kB / 352.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.005236, allocations: 121.2 kB / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.208e-05/0.005278, allocations: 43.05 kB / 352.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.0053, allocations: 19.67 kB / 352.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/0.00535, allocations: 23.98 kB / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.005366, allocations: 41.39 kB / 352.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.005367, allocations: 0 / 352.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.009486/0.01485, allocations: 1.282 MB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.01487, allocations: 59.34 kB / 354.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.01495, allocations: 200.8 kB / 354.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.01497, allocations: 33.7 kB / 354.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.01499, allocations: 138.8 kB / 354.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.01503, allocations: 39.64 kB / 354.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.01511, allocations: 59.31 kB / 354.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.01516, allocations: 0.4884 MB / 355.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.01526, allocations: 108 kB / 355.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.01537, allocations: 108 kB / 355.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.01562, allocations: 195.7 kB / 355.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01562, allocations: 4 kB / 355.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003174/0.01594, allocations: 277.6 kB / 355.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.01595, allocations: 7.938 kB / 355.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.01596, allocations: 3.938 kB / 355.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01597, allocations: 4 kB / 355.9 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.01622, allocations: 51.95 kB / 355.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.01623, allocations: 0 / 355.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.0164, allocations: 23.97 kB / 356 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.01642, allocations: 12.14 kB / 356 MB, free: 1.082 MB / 282.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 6.746e-05/0.01649, allocations: 164.6 kB / 356.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.01652, allocations: 7.953 kB / 356.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.01686, allocations: 190.1 kB / 356.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01686, allocations: 4 kB / 356.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.01686, allocations: 0 / 356.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01687, allocations: 0 / 356.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009347/0.0178, allocations: 0.5202 MB / 356.9 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.0178, allocations: 3.938 kB / 356.9 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.01802, allocations: 59.94 kB / 356.9 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.01802, allocations: 0 / 356.9 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01804, allocations: 4 kB / 356.9 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.01804, allocations: 3.938 kB / 356.9 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.01804, allocations: 8.094 kB / 356.9 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.01837, allocations: 302.9 kB / 357.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.01844, allocations: 31.84 kB / 357.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.01846, allocations: 4 kB / 357.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.01867, allocations: 31.91 kB / 357.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.01869, allocations: 19.92 kB / 357.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.01871, allocations: 4 kB / 357.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.01876, allocations: 139.1 kB / 357.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01876, allocations: 0 / 357.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005055/0.01926, allocations: 175.6 kB / 357.6 MB, free: 15.34 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.0005241/0.01979, allocations: 266.7 kB / 357.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.02008, allocations: 191.6 kB / 358.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02009, allocations: 0 / 358.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.871e-05/0.02018, allocations: 63.84 kB / 358.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.02047, allocations: 48.03 kB / 358.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.02176, allocations: 400.2 kB / 358.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.589e-05/0.0218, allocations: 63.34 kB / 358.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.02195, allocations: 40.69 kB / 358.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.02216, allocations: 98.17 kB / 358.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02216, allocations: 0 / 358.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Templates: time 0.01768/0.03984, allocations: 9.957 MB / 368.7 MB, free: 4.156 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.151543057989329]