Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.0008856/0.0008856, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001594/0.001594, allocations: 161 kB / 24.56 MB, free: 20 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.052/1.052, allocations: 177.1 MB / 205 MB, free: 5.293 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.3118/0.3118, allocations: 32.81 MB / 294.3 MB, free: 1.238 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.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|zeta_TOT.[0-9,]+.|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|zeta_TOT.[0-9,]+.|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.534e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003411/0.003447, allocations: 1.752 MB / 377.8 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.005049, allocations: 0.8295 MB / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.005121, allocations: 7.938 kB / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.005406, allocations: 31.83 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.005615, allocations: 59.61 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.006017, allocations: 99.56 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.006249, allocations: 159.1 kB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.006299, allocations: 9.297 kB / 379 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.006561, allocations: 83.73 kB / 379.1 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.006694, allocations: 67.8 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.006716, allocations: 8 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.006991, allocations: 135.7 kB / 379.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.007077, allocations: 39.84 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.007141, allocations: 39.88 kB / 379.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.00751, allocations: 199.3 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.007513, allocations: 0 / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007514, allocations: 0 / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.007522, allocations: 3.984 kB / 379.6 MB, free: 1.129 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005956/0.008117, allocations: 491.8 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.008163, allocations: 12.03 kB / 380 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004729/0.008636, allocations: 88.66 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.008855, allocations: 156.3 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.008871, allocations: 8.375 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.008905, allocations: 20.3 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.009228, allocations: 151.9 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.009241, allocations: 3.938 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.009263, allocations: 8 kB / 380.5 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/0.009307, allocations: 15.98 kB / 380.5 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.009498, allocations: 91.5 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.01046, allocations: 0.5042 MB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.01058, allocations: 51.03 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.01063, allocations: 23.67 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.01066, allocations: 3.984 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.01068, allocations: 37.39 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.01069, allocations: 3.938 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002941/0.01098, allocations: 81.61 kB / 381.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.01101, allocations: 55.34 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.01116, allocations: 201.1 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.01118, allocations: 29.7 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01129, allocations: 190.8 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.01131, allocations: 27.91 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.01138, allocations: 43.34 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.01154, allocations: 0.4923 MB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.01159, allocations: 11.98 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.0117, allocations: 97.39 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.01187, allocations: 113.4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01188, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000262/0.01214, allocations: 121.7 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.01216, allocations: 4.781 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01217, allocations: 4.297 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.01219, allocations: 7.984 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.01285, allocations: 87.84 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.01426, allocations: 2.711 MB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01438, allocations: 23.88 kB / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.0144, allocations: 4 kB / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.01451, allocations: 164.5 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.01455, allocations: 11.95 kB / 385.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.01485, allocations: 118.4 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01485, allocations: 7.875 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01485, allocations: 0 / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01486, allocations: 0 / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.0151, allocations: 180.5 kB / 386 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.0151, allocations: 3.984 kB / 386 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.0156, allocations: 79.91 kB / 386 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.0156, allocations: 4 kB / 386 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.01562, allocations: 4 kB / 386 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.01675, allocations: 2.688 MB / 388.7 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01675, allocations: 192 / 388.7 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.01699, allocations: 251.7 kB / 389 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.017, allocations: 3.953 kB / 389 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.01703, allocations: 7.938 kB / 389 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.01711, allocations: 4 kB / 389 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.01717, allocations: 7.984 kB / 389 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.01718, allocations: 7.984 kB / 389 MB, free: 7.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.383e-05/0.01725, allocations: 143.2 kB / 389.1 MB, free: 7.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01725, allocations: 0 / 389.1 MB, free: 7.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.01761, allocations: 47.84 kB / 389.2 MB, free: 6.961 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002301/0.01784, allocations: 115.2 kB / 389.3 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007414/0.01858, allocations: 151.8 kB / 389.5 MB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01858, allocations: 4 kB / 389.5 MB, free: 6.684 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.01895, allocations: 75.55 kB / 389.5 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.0193, allocations: 20.36 kB / 389.6 MB, free: 6.586 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.02031, allocations: 328 kB / 389.9 MB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.107e-05/0.02038, allocations: 91.27 kB / 390 MB, free: 6.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.132e-05/0.02047, allocations: 32.31 kB / 390 MB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.02052, allocations: 16.44 kB / 390 MB, free: 6.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.484e-06/0.02052, allocations: 0 / 390 MB, free: 6.09 MB / 362.7 MB Notification: Performance of Templates: time 0.004655/0.02518, allocations: 2.593 MB / 392.6 MB, free: 3.574 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_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.5946919759735465]