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.001935/0.001935, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002117/0.002117, allocations: 164.8 kB / 24.27 MB, free: 156 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.561/1.561, allocations: 177 MB / 204.5 MB, free: 5.629 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.4026/0.4026, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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 2.004e-06/2.004e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.339e-05/3.54e-05, allocations: 2.312 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003767/0.003802, allocations: 1.833 MB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.0057, allocations: 0.8101 MB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.005776, allocations: 8 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.00605, allocations: 35.7 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.006384, allocations: 79.52 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.006616, allocations: 75.66 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.006852, allocations: 131.4 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.006899, allocations: 7.938 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.007156, allocations: 91.72 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.00732, allocations: 87.75 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.007341, allocations: 4 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.007481, allocations: 51.91 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.007553, allocations: 35.89 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.007611, allocations: 27.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.007902, allocations: 139.5 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.007906, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007907, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.007911, allocations: 0 / 380.6 MB, free: 15.45 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.0006498/0.008561, allocations: 435.8 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.008595, allocations: 12.03 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000354/0.008949, allocations: 60.72 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.009169, allocations: 132.5 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.009187, allocations: 8.375 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.009208, allocations: 8.375 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.009569, allocations: 165 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.009586, allocations: 3.938 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.009606, allocations: 4 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.009642, allocations: 15.97 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.009907, allocations: 103.9 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.01099, allocations: 0.6495 MB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.01133, allocations: 79.2 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/0.01143, allocations: 31.61 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.01145, allocations: 4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.0115, allocations: 45.33 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.0115, allocations: 0 / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003677/0.01186, allocations: 89.61 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.01193, allocations: 55.41 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.01211, allocations: 189.9 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.01213, allocations: 25.7 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.01225, allocations: 174.8 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.01228, allocations: 27.94 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.01235, allocations: 31.38 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.01262, allocations: 0.4962 MB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.0127, allocations: 19.92 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.01286, allocations: 107.4 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.01311, allocations: 145 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01311, allocations: 0 / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002833/0.0134, allocations: 129.7 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.01342, allocations: 11.94 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01342, allocations: 80 / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.01344, allocations: 4 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.01361, allocations: 44.16 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.01362, allocations: 7.984 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-05/0.01371, allocations: 19.89 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.01372, allocations: 4 kB / 383.9 MB, free: 11.85 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.0001539/0.01388, allocations: 168.5 kB / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.01392, allocations: 19.89 kB / 384.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.0142, allocations: 90.09 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01421, allocations: 4 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.01421, allocations: 0 / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01422, allocations: 0 / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.01444, allocations: 156.5 kB / 384.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01444, allocations: 0 / 384.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.01458, allocations: 27.92 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01458, allocations: 7.938 kB / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.0146, allocations: 3.938 kB / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.0146, allocations: 0 / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.0146, allocations: 0 / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.01492, allocations: 231.9 kB / 384.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.01494, allocations: 11.94 kB / 384.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.01496, allocations: 7.938 kB / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.01504, allocations: 4 kB / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.01509, allocations: 3.984 kB / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.0151, allocations: 4 kB / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.01519, allocations: 143.2 kB / 384.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0152, allocations: 0 / 384.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.01546, allocations: 23.95 kB / 384.8 MB, free: 10.89 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.0001932/0.01565, allocations: 111.2 kB / 384.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.0159, allocations: 75.58 kB / 385 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01591, allocations: 0 / 385 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.791e-05/0.016, allocations: 35.61 kB / 385 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.01628, allocations: 12.48 kB / 385.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.01685, allocations: 238.2 kB / 385.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.01698, allocations: 97.36 kB / 385.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.978e-05/0.01707, allocations: 28.45 kB / 385.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.01713, allocations: 16.5 kB / 385.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01713, allocations: 0 / 385.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of Templates: time 0.004331/0.02146, allocations: 0.9338 MB / 386.4 MB, free: 9.336 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] 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.102285944973119]