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.001052/0.001052, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001629/0.001629, allocations: 161 kB / 24.56 MB, free: 20 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 0.9847/0.9847, allocations: 177.2 MB / 205 MB, free: 5.293 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.261/0.261, allocations: 32.8 MB / 294.3 MB, free: 1.234 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.473e-06/1.473e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.15e-05, allocations: 5.406 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001821/0.001843, allocations: 1.5 MB / 377.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.003264, allocations: 1.394 MB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.003298, allocations: 3.938 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.003424, allocations: 27.8 kB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.003584, allocations: 47.69 kB / 379 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.003919, allocations: 238.9 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.284e-05/0.004002, allocations: 51.72 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.917e-05/0.004031, allocations: 3.938 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.061e-05/0.004081, allocations: 27.97 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.004127, allocations: 27.91 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.168e-06/0.004136, allocations: 0 / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003551/0.004491, allocations: 275.5 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.004505, allocations: 7.984 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.00453, allocations: 11.94 kB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.004837, allocations: 303.1 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004839, allocations: 4 kB / 379.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00484, allocations: 0 / 379.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.004844, allocations: 0 / 379.9 MB, free: 0.7422 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.0004683/0.005313, allocations: 455.8 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.005343, allocations: 8.031 kB / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.005372, allocations: 12.89 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.907e-05/0.005451, allocations: 112.6 kB / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.005461, allocations: 4.375 kB / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.005484, allocations: 8.375 kB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.915e-05/0.005564, allocations: 46.19 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005571, allocations: 4.188 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.005581, allocations: 12.12 kB / 380.6 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.00559, allocations: 0 / 380.6 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.005629, allocations: 19.97 kB / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.005769, allocations: 148.5 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.346e-05/0.005822, allocations: 47.05 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.005852, allocations: 23.69 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.005897, allocations: 19.92 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.005915, allocations: 37.39 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.123e-06/0.005916, allocations: 0 / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.00806/0.01398, allocations: 1.31 MB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.014, allocations: 55.41 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.01409, allocations: 193.1 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.01411, allocations: 25.7 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.01415, allocations: 138.8 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.01418, allocations: 43.84 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.01425, allocations: 59.3 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01436, allocations: 0.4923 MB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.01449, allocations: 136 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.01463, allocations: 136 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.0149, allocations: 235.3 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.0149, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004964/0.01539, allocations: 313.6 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.01541, allocations: 11.94 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01541, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.01543, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.01565, allocations: 51.94 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01566, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.0158, allocations: 31.97 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.01581, allocations: 4 kB / 384.1 MB, free: 12.37 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 7.93e-05/0.01589, allocations: 168.5 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.01592, allocations: 15.89 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.01625, allocations: 198.2 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01625, allocations: 3.984 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.01625, allocations: 0 / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01626, allocations: 4 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008976/0.01715, allocations: 0.547 MB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01716, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.01733, allocations: 59.97 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.01734, allocations: 4 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.01735, allocations: 7.984 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01736, allocations: 0 / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01736, allocations: 0 / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.01766, allocations: 338.7 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.01771, allocations: 31.91 kB / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.01774, allocations: 0 / 385.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.01789, allocations: 31.97 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.01791, allocations: 7.984 kB / 385.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01792, allocations: 4 kB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.01797, allocations: 139.2 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01797, allocations: 4 kB / 385.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003616/0.01833, allocations: 175.6 kB / 385.8 MB, free: 10.55 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.000447/0.01878, allocations: 270.6 kB / 386 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.01908, allocations: 227.5 kB / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01908, allocations: 3.938 kB / 386.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/0.01918, allocations: 63.59 kB / 386.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.01939, allocations: 40.28 kB / 386.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.02052, allocations: 389.5 kB / 386.8 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.02056, allocations: 59.36 kB / 386.8 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.02067, allocations: 44.69 kB / 386.9 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.02078, allocations: 28.47 kB / 386.9 MB, free: 9.367 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02078, allocations: 0 / 386.9 MB, free: 9.367 MB / 362.7 MB Notification: Performance of Templates: time 0.01025/0.03103, allocations: 9.083 MB / 396 MB, free: 300 kB / 362.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","",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.319662625901401]