Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 84.25 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002141/0.002141, allocations: 165.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8886/0.8886, allocations: 177 MB / 205.9 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1394/0.1394, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.214e-05, allocations: 6.281 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001654/0.001686, allocations: 1.484 MB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.002786, allocations: 1.359 MB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.002842, allocations: 0 / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.00301, allocations: 39.77 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.003208, allocations: 47.64 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.003568, allocations: 230.9 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.00367, allocations: 59.72 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.00371, allocations: 7.969 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.003764, allocations: 31.91 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.003813, allocations: 19.92 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.003822, allocations: 0 / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.004167, allocations: 275.5 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.004181, allocations: 15.98 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.004202, allocations: 11.94 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.004457, allocations: 307.1 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004459, allocations: 0 / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004459, allocations: 0 / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.004463, allocations: 0 / 383.9 MB, free: 18.84 MB / 314.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.0003166/0.00478, allocations: 443.9 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.00481, allocations: 8.031 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.004837, allocations: 8.891 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.304e-05/0.0049, allocations: 120.5 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.004912, allocations: 16.36 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.004929, allocations: 384 / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.001e-05/0.004989, allocations: 50.19 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.004999, allocations: 192 / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.005005, allocations: 4.125 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.00501, allocations: 0 / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.594e-05/0.005036, allocations: 19.97 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.005138, allocations: 129.2 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.926e-05/0.005178, allocations: 39.05 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.005196, allocations: 15.69 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.005236, allocations: 23.98 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.005251, allocations: 37.39 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.005252, allocations: 3.938 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.007736/0.01299, allocations: 1.29 MB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.01301, allocations: 51.41 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.01307, allocations: 195.8 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.01309, allocations: 29.7 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.01311, allocations: 146.8 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.01314, allocations: 35.66 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.0132, allocations: 59.3 kB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.01325, allocations: 0.4923 MB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/0.01333, allocations: 108 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.861e-05/0.01341, allocations: 112 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.0136, allocations: 194.6 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.0136, allocations: 8 kB / 387.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002509/0.01385, allocations: 269.5 kB / 387.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.01386, allocations: 4 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01387, allocations: 3.938 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.01388, allocations: 4 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.01409, allocations: 55.94 kB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.01409, allocations: 0 / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.01423, allocations: 23.97 kB / 387.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01425, allocations: 4 kB / 387.8 MB, free: 14.66 MB / 314.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.763e-05/0.01432, allocations: 168.5 kB / 388 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.01436, allocations: 11.95 kB / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.01465, allocations: 189.8 kB / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01466, allocations: 4 kB / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01466, allocations: 0 / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01466, allocations: 0 / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008038/0.01547, allocations: 0.5163 MB / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.01547, allocations: 11.94 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.01564, allocations: 51.89 kB / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01565, allocations: 0 / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.01566, allocations: 11.98 kB / 388.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01566, allocations: 4 kB / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01566, allocations: 96 / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.01588, allocations: 314.7 kB / 389.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.01593, allocations: 31.86 kB / 389.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.01595, allocations: 4 kB / 389.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.0161, allocations: 27.97 kB / 389.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.01612, allocations: 7.984 kB / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.01613, allocations: 11.98 kB / 389.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.409e-05/0.01615, allocations: 140.9 kB / 389.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01615, allocations: 0 / 389.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003714/0.01653, allocations: 167.6 kB / 389.5 MB, free: 12.92 MB / 314.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.0004243/0.01695, allocations: 277.7 kB / 389.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.01717, allocations: 191.5 kB / 389.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01718, allocations: 4 kB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.01725, allocations: 67.47 kB / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.01746, allocations: 40.38 kB / 390.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000978/0.01844, allocations: 383.2 kB / 390.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.526e-05/0.01846, allocations: 71.2 kB / 390.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.01857, allocations: 36.66 kB / 390.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.01873, allocations: 106.2 kB / 390.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01873, allocations: 0 / 390.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of Templates: time 0.008053/0.02678, allocations: 10.09 MB / 400.7 MB, free: 1.656 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.253194307908416]