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_overall_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.001043/0.001043, allocations: 82.66 kB / 21.43 MB, free: 3.07 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.001034/0.001034, allocations: 168 kB / 24.82 MB, free: 8.938 MB / 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 0.9909/0.9909, allocations: 177.2 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2644/0.2644, allocations: 32.81 MB / 294.6 MB, free: 1.18 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_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 376.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.617e-05, allocations: 9.484 kB / 376.5 MB, free: 4.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002433/0.002449, allocations: 1.876 MB / 378.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.005274, allocations: 2.835 MB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.005335, allocations: 4 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.005509, allocations: 43.7 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.005721, allocations: 87.44 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.007043, allocations: 0.7391 MB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.007232, allocations: 258.5 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.007273, allocations: 8.594 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.007452, allocations: 135.5 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.007743, allocations: 111.6 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.007789, allocations: 8 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.008929, allocations: 0.6196 MB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.009078, allocations: 67.7 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.009208, allocations: 75.66 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.01131, allocations: 0.7746 MB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.01131, allocations: 4 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01131, allocations: 0 / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.01132, allocations: 4 kB / 384.2 MB, free: 12.66 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008519/0.01217, allocations: 0.7249 MB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.01221, allocations: 8.031 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.01231, allocations: 56.69 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.0125, allocations: 172.2 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.01252, allocations: 20.78 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.01255, allocations: 31.98 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.0129, allocations: 252.8 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.01292, allocations: 0 / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.01294, allocations: 8 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.013, allocations: 44.97 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.01322, allocations: 202.8 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.01435, allocations: 0.8885 MB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.0146, allocations: 167 kB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.01465, allocations: 43.67 kB / 386.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.01469, allocations: 11.98 kB / 386.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.01471, allocations: 37.39 kB / 386.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.364e-06/0.01471, allocations: 0 / 386.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002783/0.01499, allocations: 190.7 kB / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.01502, allocations: 55.34 kB / 387 MB, free: 9.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.01513, allocations: 206.1 kB / 387.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.01515, allocations: 25.7 kB / 387.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.01526, allocations: 247 kB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.01531, allocations: 95.19 kB / 387.6 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.01538, allocations: 83.28 kB / 387.7 MB, free: 8.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01552, allocations: 0.504 MB / 388.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.01557, allocations: 31.83 kB / 388.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.01568, allocations: 161.6 kB / 388.4 MB, free: 8.168 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.01586, allocations: 204.2 kB / 388.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01586, allocations: 0 / 388.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002603/0.01612, allocations: 221.2 kB / 388.8 MB, free: 7.695 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01614, allocations: 4.344 kB / 388.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.01615, allocations: 8 kB / 388.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01616, allocations: 4 kB / 388.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.01647, allocations: 131.9 kB / 388.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.01782, allocations: 3.589 MB / 392.5 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.01795, allocations: 35.77 kB / 392.6 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.01797, allocations: 12 kB / 392.6 MB, free: 3.801 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.01809, allocations: 172.5 kB / 392.7 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.01813, allocations: 23.84 kB / 392.8 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.01845, allocations: 255.1 kB / 393 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01845, allocations: 0 / 393 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01845, allocations: 7.938 kB / 393 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.01846, allocations: 3.984 kB / 393 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.01867, allocations: 197 kB / 393.2 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01868, allocations: 0 / 393.2 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.01893, allocations: 115.9 kB / 393.3 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.01894, allocations: 7.938 kB / 393.3 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.01895, allocations: 8 kB / 393.3 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.01997, allocations: 3.577 MB / 396.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01997, allocations: 0 / 396.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.02022, allocations: 331.7 kB / 397.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.02024, allocations: 23.78 kB / 397.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.02026, allocations: 4 kB / 397.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.02033, allocations: 11.98 kB / 397.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.02037, allocations: 15.97 kB / 397.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.02039, allocations: 15.98 kB / 397.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.02044, allocations: 138.5 kB / 397.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02044, allocations: 0 / 397.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006045/0.02104, allocations: 258.6 kB / 397.7 MB, free: 14.49 MB / 378.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005149/0.02156, allocations: 393.9 kB / 398.1 MB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005912/0.02215, allocations: 196.2 kB / 398.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.02215, allocations: 0 / 398.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.02233, allocations: 144 kB / 398.4 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.02259, allocations: 19.94 kB / 398.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.02372, allocations: 0.5197 MB / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.793e-05/0.02379, allocations: 116.3 kB / 399.1 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.02393, allocations: 53.8 kB / 399.1 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.02402, allocations: 102.2 kB / 399.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.984e-06/0.02403, allocations: 0 / 399.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of Templates: time 0.009854/0.03388, allocations: 7.181 MB / 406.4 MB, free: 5.77 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.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.5457123201340437]