Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.002078/0.002078, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.002148/0.002148, allocations: 213.4 kB / 23.74 MB, free: 4.688 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 46.94 MB / 360.9 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.91 kB / 0.4967 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3531, allocations: 66.03 MB / 0.5612 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003321/0.3564, allocations: 1.826 MB / 0.5629 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.3588, allocations: 1.427 MB / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.3589, allocations: 0 / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.3591, allocations: 47.75 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.3593, allocations: 51.61 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.3599, allocations: 251 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.36, allocations: 103.5 kB / 0.5648 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.3601, allocations: 5.312 kB / 0.5648 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.3603, allocations: 63.66 kB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.3604, allocations: 47.77 kB / 0.5649 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.3604, allocations: 8 kB / 0.5649 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007402/0.3611, allocations: 0.5029 MB / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.3612, allocations: 23.86 kB / 0.5654 GB, free: 76 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.3612, allocations: 43.72 kB / 0.5654 GB, free: 32 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.3618, allocations: 369.1 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3618, allocations: 0 / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3618, allocations: 0 / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3618, allocations: 0 / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006046/0.3624, allocations: 377.3 kB / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3624, allocations: 8.031 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.3625, allocations: 12.89 kB / 0.5662 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3626, allocations: 126.4 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3626, allocations: 4.375 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.3627, allocations: 16.12 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.363, allocations: 145.6 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.363, allocations: 0 / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.363, allocations: 11.94 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.363, allocations: 4 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.3633, allocations: 135.9 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009119/0.3642, allocations: 493.9 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.3645, allocations: 102.5 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.3646, allocations: 40.83 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.3647, allocations: 11.97 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3647, allocations: 34.56 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.3647, allocations: 0 / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000507/0.3652, allocations: 169.4 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3653, allocations: 51.41 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3654, allocations: 117.8 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3654, allocations: 25.7 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.3655, allocations: 115.7 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.3655, allocations: 43.69 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.3656, allocations: 29.7 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3657, allocations: 322.8 kB / 0.5681 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3658, allocations: 35.97 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.366, allocations: 85.05 kB / 0.5682 GB, free: 12.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.3663, allocations: 128.9 kB / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3663, allocations: 4 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003631/0.3666, allocations: 161.4 kB / 0.5685 GB, free: 12.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3666, allocations: 8 kB / 0.5685 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3666, allocations: 0 / 0.5685 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3667, allocations: 4 kB / 0.5685 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.3669, allocations: 43.97 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004084/0.3673, allocations: 0.5978 MB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3674, allocations: 15.98 kB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.3674, allocations: 4 kB / 0.5691 GB, free: 11.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.3675, allocations: 125.7 kB / 0.5693 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.3676, allocations: 7.953 kB / 0.5693 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.368, allocations: 182.3 kB / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.368, allocations: 0 / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.368, allocations: 3.938 kB / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.368, allocations: 0 / 0.5694 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.3683, allocations: 184.7 kB / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3683, allocations: 0 / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.3685, allocations: 43.91 kB / 0.5697 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3685, allocations: 4 kB / 0.5697 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3685, allocations: 11.94 kB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003469/0.3689, allocations: 0.5821 MB / 0.5702 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3689, allocations: 0 / 0.5702 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.3694, allocations: 298.8 kB / 0.5705 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.3694, allocations: 23.84 kB / 0.5705 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.3694, allocations: 0 / 0.5705 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3696, allocations: 15.98 kB / 0.5706 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.3696, allocations: 7.984 kB / 0.5706 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3696, allocations: 7.984 kB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.25e-05/0.3697, allocations: 91.22 kB / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3697, allocations: 0 / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000382/0.3701, allocations: 91.69 kB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003134/0.3704, allocations: 170.9 kB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.3708, allocations: 123.9 kB / 0.571 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3708, allocations: 3.938 kB / 0.571 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.371, allocations: 63.95 kB / 0.5711 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.3713, allocations: 10.81 kB / 0.5711 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.372, allocations: 304.8 kB / 0.5714 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3723, allocations: 0.7117 MB / 0.5721 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.962e-05/0.3724, allocations: 24.69 kB / 0.5721 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.3725, allocations: 15.44 kB / 0.5721 GB, free: 8.758 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3725, allocations: 0 / 0.5721 GB, free: 8.758 MB / 414.1 MB Notification: Performance of Templates: time 0.006397/0.3789, allocations: 2.446 MB / 0.5745 GB, free: 6.352 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.68249012902379]