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_volumeFlowRate_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.001009/0.001009, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001136/0.001136, allocations: 161 kB / 24.56 MB, free: 16 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 0.9829/0.9829, allocations: 177.1 MB / 205 MB, free: 5.648 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.2604/0.2604, allocations: 32.81 MB / 294.3 MB, free: 1.285 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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.[0-9,]+.|a.[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_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.[0-9,]+.|a.[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_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.099e-05, allocations: 6.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002557/0.002588, allocations: 1.72 MB / 377.8 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.003957, allocations: 0.884 MB / 378.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.00402, allocations: 3.938 kB / 378.7 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.004262, allocations: 35.78 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.004441, allocations: 59.61 kB / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.004812, allocations: 127.5 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.004991, allocations: 143.2 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.005041, allocations: 5.641 kB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.005149, allocations: 87.67 kB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.005262, allocations: 63.8 kB / 379.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.005282, allocations: 4 kB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.00555, allocations: 151.7 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.005634, allocations: 43.84 kB / 379.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.005694, allocations: 39.84 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.006036, allocations: 239.1 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.00604, allocations: 0 / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.006042, allocations: 0 / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.006048, allocations: 0 / 379.6 MB, free: 1.039 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005058/0.006554, allocations: 0.4919 MB / 380.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.006591, allocations: 8.031 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005989/0.00719, allocations: 136.6 kB / 380.3 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.007378, allocations: 168.2 kB / 380.4 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.007392, allocations: 8.375 kB / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.00742, allocations: 16.36 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.007794, allocations: 218.8 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.007808, allocations: 8.172 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.007831, allocations: 12.27 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/0.007867, allocations: 23.92 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.008063, allocations: 131.9 kB / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009117/0.008975, allocations: 0.5553 MB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.009212, allocations: 110.9 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.009275, allocations: 35.7 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.0093, allocations: 4 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.009325, allocations: 41.42 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.009326, allocations: 0 / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003353/0.009661, allocations: 145.5 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.009691, allocations: 59.39 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.995e-05/0.009791, allocations: 197.9 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.009808, allocations: 25.7 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.009887, allocations: 194.8 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.009914, allocations: 35.7 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.009974, allocations: 55.33 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01009, allocations: 0.4961 MB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.01016, allocations: 27.97 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-05/0.01026, allocations: 115.3 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.01042, allocations: 141.3 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01043, allocations: 4 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002465/0.01067, allocations: 169.3 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.01069, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01069, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.01071, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.01098, allocations: 76.16 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008993/0.01188, allocations: 2.703 MB / 386 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.476e-05/0.01197, allocations: 11.89 kB / 386 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.01199, allocations: 15.98 kB / 386 MB, free: 10.27 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 (17): * Single equations (assignments): 14 * 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 9.92e-05/0.01209, allocations: 168.5 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.01213, allocations: 16.14 kB / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.0124, allocations: 166.6 kB / 386.4 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01241, allocations: 0 / 386.4 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01241, allocations: 3.938 kB / 386.4 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01241, allocations: 0 / 386.4 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.01259, allocations: 196.5 kB / 386.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01259, allocations: 0 / 386.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.01276, allocations: 67.88 kB / 386.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01276, allocations: 0 / 386.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.01278, allocations: 11.98 kB / 386.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007354/0.01352, allocations: 2.684 MB / 389.3 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.01352, allocations: 16.12 kB / 389.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.01377, allocations: 271.7 kB / 389.6 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.01378, allocations: 7.953 kB / 389.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.01381, allocations: 0 / 389.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.01389, allocations: 8 kB / 389.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.01394, allocations: 19.89 kB / 389.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.01395, allocations: 11.98 kB / 389.7 MB, free: 6.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.014, allocations: 143.1 kB / 389.8 MB, free: 6.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.014, allocations: 0 / 389.8 MB, free: 6.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.01428, allocations: 67.83 kB / 389.9 MB, free: 6.273 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 (10): * Single equations (assignments): 7 * 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.0002439/0.01452, allocations: 127.1 kB / 390 MB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.01486, allocations: 139.7 kB / 390.1 MB, free: 6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01487, allocations: 4 kB / 390.1 MB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.01501, allocations: 91.55 kB / 390.2 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.01521, allocations: 15.98 kB / 390.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007932/0.016, allocations: 336.5 kB / 390.6 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.433e-05/0.01606, allocations: 87.3 kB / 390.7 MB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.01616, allocations: 52.95 kB / 390.7 MB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.01623, allocations: 28.47 kB / 390.7 MB, free: 5.355 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01623, allocations: 0 / 390.7 MB, free: 5.355 MB / 362.7 MB Notification: Performance of Templates: time 0.004799/0.02103, allocations: 2.734 MB / 393.5 MB, free: 2.672 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_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.4971286868676543]