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.001466/0.001466, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001696/0.001696, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.508/1.508, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3367/0.3367, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.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.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 1.453e-06/1.453e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.36e-05, allocations: 6.25 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.004033/0.004067, allocations: 1.804 MB / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.005822, allocations: 0.7595 MB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.005931, allocations: 7.938 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.006257, allocations: 43.69 kB / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.006637, allocations: 75.52 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.006921, allocations: 75.66 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.007211, allocations: 135.4 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.007261, allocations: 7.938 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.007563, allocations: 91.72 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.007782, allocations: 83.81 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.00781, allocations: 4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.007979, allocations: 47.86 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.008082, allocations: 39.88 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.008156, allocations: 23.92 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.00852, allocations: 143.5 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.008525, allocations: 0 / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008526, allocations: 4 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.008531, allocations: 0 / 380.6 MB, free: 15.54 MB / 362.7 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.000766/0.009297, allocations: 333.8 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.009342, allocations: 8.031 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004599/0.009802, allocations: 48.8 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.01003, allocations: 137.6 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.01005, allocations: 8.359 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.01009, allocations: 12.38 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.01052, allocations: 180.5 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.01053, allocations: 3.938 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.01056, allocations: 4 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.01059, allocations: 11.98 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.01096, allocations: 131.9 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009977/0.01196, allocations: 0.5316 MB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.01235, allocations: 102.7 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.01248, allocations: 36.83 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.0125, allocations: 0 / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.01254, allocations: 42.44 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.01254, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000524/0.01306, allocations: 149.7 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.01312, allocations: 51.41 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.01325, allocations: 122 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.01327, allocations: 25.7 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.01338, allocations: 128 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.01341, allocations: 27.78 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.01347, allocations: 29.7 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.01365, allocations: 314.8 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.01378, allocations: 39.97 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.01397, allocations: 95.62 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.0143, allocations: 143.5 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.0143, allocations: 4 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003943/0.0147, allocations: 161.7 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.01472, allocations: 11.94 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.01473, allocations: 4.078 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.01476, allocations: 4.25 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.015, allocations: 47.91 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.01501, allocations: 7.984 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.01512, allocations: 15.88 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01514, allocations: 8 kB / 383.5 MB, free: 12.35 MB / 362.7 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 0.0001417/0.01528, allocations: 125.8 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.01532, allocations: 15.83 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.01572, allocations: 122.1 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.01573, allocations: 0 / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01573, allocations: 0 / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.01574, allocations: 3.984 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.01597, allocations: 141.2 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01598, allocations: 3.938 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.01613, allocations: 27.98 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01613, allocations: 0 / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01614, allocations: 7.938 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01615, allocations: 0 / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01615, allocations: 0 / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.01653, allocations: 211.4 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.01655, allocations: 7.953 kB / 384.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01658, allocations: 7.938 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.01668, allocations: 7.984 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.01674, allocations: 7.984 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.01675, allocations: 4 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.925e-05/0.01684, allocations: 103.3 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01684, allocations: 0 / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.01714, allocations: 27.95 kB / 384.3 MB, free: 11.48 MB / 362.7 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.0001748/0.01732, allocations: 99.25 kB / 384.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.01766, allocations: 104.2 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01766, allocations: 0 / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.01781, allocations: 39.91 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.01808, allocations: 8 kB / 384.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.01866, allocations: 236.6 kB / 384.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.01881, allocations: 105.4 kB / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.907e-05/0.0189, allocations: 24.45 kB / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.01895, allocations: 20.48 kB / 384.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01896, allocations: 0 / 384.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Templates: time 0.004342/0.0233, allocations: 0.9326 MB / 385.9 MB, free: 9.918 MB / 362.7 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: 4.902280124020763]