Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.001919/0.001919, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002022/0.002022, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.572/1.572, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3268/0.3268, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.94e-05, allocations: 2.312 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003703/0.003733, allocations: 1.838 MB / 377.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.005306, allocations: 0.8101 MB / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.005367, allocations: 0 / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.005612, allocations: 39.77 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.005911, allocations: 75.52 kB / 378.1 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.006124, allocations: 71.66 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.006334, allocations: 139.3 kB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.006377, allocations: 11.94 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.006616, allocations: 87.78 kB / 378.4 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.006801, allocations: 83.75 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.006825, allocations: 4 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.006963, allocations: 51.91 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.007041, allocations: 31.84 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.007098, allocations: 27.92 kB / 378.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.007386, allocations: 139.5 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.007389, allocations: 0 / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007389, allocations: 0 / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.007393, allocations: 4 kB / 378.7 MB, free: 1.543 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006697/0.008063, allocations: 435.8 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.008102, allocations: 11.97 kB / 379.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.008456, allocations: 52.8 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.008663, allocations: 136.4 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.008682, allocations: 8.375 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.008711, allocations: 8.375 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.009048, allocations: 165 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.009061, allocations: 3.938 kB / 379.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.009081, allocations: 12 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.009115, allocations: 11.98 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.009375, allocations: 95.88 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009815/0.01036, allocations: 0.6495 MB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.01067, allocations: 87.2 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.01075, allocations: 27.67 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.01078, allocations: 7.984 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.01082, allocations: 45.27 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.01082, allocations: 0 / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003464/0.01116, allocations: 93.61 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.01121, allocations: 51.41 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.01138, allocations: 193.4 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.0114, allocations: 29.7 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.01152, allocations: 170.8 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.01155, allocations: 27.8 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.01163, allocations: 39.36 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002654/0.01189, allocations: 0.4884 MB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.01198, allocations: 23.98 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.01213, allocations: 101.3 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.01238, allocations: 145 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01238, allocations: 0 / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002958/0.01267, allocations: 133.4 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.01269, allocations: 8.188 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.0127, allocations: 11.94 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01271, allocations: 0 / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.01289, allocations: 39.92 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.0129, allocations: 4.375 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.01299, allocations: 19.89 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.013, allocations: 4 kB / 382 MB, free: 13.95 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.0001412/0.01314, allocations: 172.5 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.01318, allocations: 15.88 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.01345, allocations: 98.08 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01345, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01345, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01346, allocations: 4 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.01391, allocations: 152.5 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01391, allocations: 0 / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.01404, allocations: 23.98 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01404, allocations: 0 / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.01406, allocations: 11.94 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01406, allocations: 0 / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01406, allocations: 7.938 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.01435, allocations: 219.9 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.01437, allocations: 11.95 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.01439, allocations: 7.922 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.01448, allocations: 4 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.01453, allocations: 3.984 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.01454, allocations: 8 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.499e-05/0.01463, allocations: 139.2 kB / 382.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01463, allocations: 8 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000256/0.01489, allocations: 19.95 kB / 382.9 MB, free: 12.98 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.0001647/0.01505, allocations: 99.25 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.0153, allocations: 83.5 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.0153, allocations: 0.5 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01541, allocations: 43.61 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.01566, allocations: 15.52 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.01617, allocations: 234.3 kB / 383.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.01629, allocations: 97.31 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.01639, allocations: 36.38 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.01644, allocations: 12.5 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01644, allocations: 0 / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of Templates: time 0.004305/0.02074, allocations: 0.9273 MB / 384.4 MB, free: 11.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.097381327999756]