Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.001291/0.001291, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001451/0.001451, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.2446/0.2446, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.84e-06/4.84e-06, allocations: 4 kB / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.513e-05, allocations: 2.281 kB / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003471/0.003507, allocations: 1.793 MB / 444.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.004924, allocations: 0.771 MB / 445.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.004984, allocations: 0 / 445.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.005226, allocations: 31.77 kB / 445.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.005544, allocations: 83.52 kB / 445.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.005763, allocations: 75.66 kB / 445.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.006017, allocations: 139.3 kB / 445.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.006065, allocations: 3.984 kB / 445.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.006288, allocations: 83.8 kB / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.006461, allocations: 87.75 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.006483, allocations: 4 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.006622, allocations: 55.84 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.006698, allocations: 31.83 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.006756, allocations: 27.92 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.007049, allocations: 143.5 kB / 446 MB, free: 1.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.007052, allocations: 0 / 446 MB, free: 1.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007053, allocations: 4 kB / 446 MB, free: 1.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.007057, allocations: 0 / 446 MB, free: 1.926 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000588/0.007645, allocations: 325.9 kB / 446.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.007684, allocations: 12.03 kB / 446.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.007998, allocations: 40.73 kB / 446.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.008192, allocations: 137.6 kB / 446.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.008209, allocations: 8.359 kB / 446.5 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.008237, allocations: 12.38 kB / 446.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.008641, allocations: 176.7 kB / 446.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.008656, allocations: 7.875 kB / 446.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.008677, allocations: 8 kB / 446.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.008704, allocations: 8 kB / 446.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.009045, allocations: 127.9 kB / 446.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.009877, allocations: 0.52 MB / 447.4 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.01023, allocations: 106.6 kB / 447.5 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.01035, allocations: 40.83 kB / 447.5 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.01037, allocations: 3.984 kB / 447.5 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.0104, allocations: 34.5 kB / 447.6 MB, free: 256 kB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.0104, allocations: 0 / 447.6 MB, free: 256 kB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000457/0.01086, allocations: 145.5 kB / 447.7 MB, free: 104 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.0109, allocations: 51.41 kB / 447.8 MB, free: 40 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1766/0.1875, allocations: 126.3 kB / 447.9 MB, free: 19.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1875, allocations: 27.33 kB / 447.9 MB, free: 19.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.1875, allocations: 126.7 kB / 448 MB, free: 19.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1876, allocations: 22.47 kB / 448 MB, free: 19.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.1876, allocations: 33.8 kB / 448.1 MB, free: 19.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.1877, allocations: 319.6 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1878, allocations: 35.92 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1879, allocations: 94.55 kB / 448.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.1882, allocations: 148.8 kB / 448.7 MB, free: 18.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.1882, allocations: 0 / 448.7 MB, free: 18.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003595/0.1886, allocations: 161 kB / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1886, allocations: 7.438 kB / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1886, allocations: 1.906 kB / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1886, allocations: 9.812 kB / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.1888, allocations: 44.41 kB / 448.9 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1888, allocations: 7.938 kB / 448.9 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.1889, allocations: 17.61 kB / 448.9 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1889, allocations: 9.234 kB / 448.9 MB, free: 18.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 9.595e-05/0.189, allocations: 121.6 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.1891, allocations: 3.594 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.1894, allocations: 125.5 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1894, allocations: 5.062 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1894, allocations: 4.938 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1894, allocations: 0.75 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.1896, allocations: 144 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1896, allocations: 2.062 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.1897, allocations: 27.17 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1897, allocations: 1.25 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1897, allocations: 0.9375 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1897, allocations: 1.031 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1897, allocations: 3.938 kB / 449.4 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.19, allocations: 211.2 kB / 449.6 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.19, allocations: 7.078 kB / 449.6 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1901, allocations: 5.312 kB / 449.6 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1902, allocations: 9.438 kB / 449.6 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1902, allocations: 9.484 kB / 449.6 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1902, allocations: 2.938 kB / 449.6 MB, free: 18.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.1903, allocations: 92.41 kB / 449.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1903, allocations: 0 / 449.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1906, allocations: 28.7 kB / 449.7 MB, free: 18.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001366/0.1907, allocations: 104.6 kB / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.191, allocations: 100.5 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.191, allocations: 0 / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1911, allocations: 38.11 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1914, allocations: 8.234 kB / 450 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.1918, allocations: 242.8 kB / 450.2 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.531e-05/0.1919, allocations: 97.66 kB / 450.3 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.454e-05/0.192, allocations: 33.25 kB / 450.3 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.192, allocations: 14.14 kB / 450.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.192, allocations: 0 / 450.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of Templates: time 0.003939/0.196, allocations: 0.9093 MB / 451.2 MB, free: 17.78 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.045046515762806]